Message log: Hints and tips

In most problem determination situations, you need to quickly pinpoint the message log entries related to the problem that you are investigating. One way to do this is to reduce the message log to a more manageable size by setting its size, or by creating smaller messages logs.

Setting the size of the message log

Before starting client or server processes on a host, set the com.ibm.CORBA.logger.maxLogFileSize run-time property to the desired number of kilobytes. For more information about specifying run-time properties, see "Specifying run-time properties for CORBA C++ clients and servers".

Creating smaller message logs

Smaller message logs can speed upyour problem determination process. If the run-time error can be reproduced by rerunning your application, consider performing the following steps to create a set of small message logs:

  1. Rename or delete your existing message log.

    This ensures that you start your problem diagnosis with an empty message log, which minimizes the amount of extraneous information that you need to consider when diagnosing problems.

  2. Restart the servers associated with the application.
  3. When the servers have started, rename the message log to another filename, such as serverinit.log.

    This allows you to keep the server initialization messages together in a small message log.

  4. Run your test.
  5. After the test, rename the message log to another filename, such as testrun.log.

    This message log contains messages that directly relate to the test run.

You now have a set of message logs that are small enough to be manageable and useful for comparison. For example, if testrun.log shows that a client could not find a factory, then serverinit.log might show you why that factory was not registered.


Related tasks
Reading a message log
Specifying run-time properties for CORBA C++ clients and servers



Searchable topic ID:   rcor_ht4act
Last updated: Jun 21, 2007 8:07:48 PM CDT    WebSphere Business Integration Server Foundation, Version 5.0.2
http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?topic=/com.ibm.wasee.doc/info/ee/corba/ref/rcor_ht4act.html

Library | Support | Terms of Use | Feedback