WebSphere WebSphere Enterprise Service Bus, Version 6.0.1 Operating Systems: AIX, HP-UX, Linux, Solaris, Windows

Configuring logging properties using the administrative console

Use this task to specify that the monitoring function publish Common Base Events to a logger.

Why and when to perform this task

Before WebSphere ESB applications can log monitored events, you must specify the service component event points that you wish to monitor, what level of detail you require for each event, and format of the output used to publish the events to the logs. Using the administrative console, you can:

You can change the log configuration statically or dynamically. Static configuration changes affect applications when you start or restart the application server. Dynamic or run time configuration changes apply immediately.

When a log is created, the level value for that log is set from the configuration data. If no configuration data is available for a particular log name, the level for that log is obtained from the parent of the log. If no configuration data exists for the parent log, the parent of that log is checked, and so on up the tree, until a log with a non-null level value is found. When you change the level of a log, the change is propagated to the children of the log, which recursively propagates the change to their children, as necessary.

To configure logging properties for a server or cluster, use the administrative console to complete the following steps:

Steps for this task

  1. Display the detail settings page for the server or cluster.
    Option Description
    For a server
    1. In the navigation pane, click Servers > Application Servers.
    2. In the content pane, click the name of the server.
    For a cluster
    1. In the navigation pane, click Servers > Clusters.
    2. In the content pane, click the name of the cluster.
  2. Under Troubleshooting, click Logging and tracing.
  3. Under Additional Properties, click Change Log Detail levels.
  4. The list of components, packages, and groups displays all the components that are currently registered on the running server; only common base events that have been invoked at least once appear on this list.
    • To make static changes to the configuration, click the Configuration tab.
    • To make dynamic changes to the configuration, click the Runtime tab.
  5. Select the event or group of events that you wish to log.
  6. Set the logging level for each event or group of events.
    Note: Only the levels fine, finer, and finest are valid for CEI event logging.
  7. Click OK.
  8. To have static configuration changes take effect, stop then restart the server or cluster.

Result

By default, the output is logged to a file called trace.log, located in the install_root/profiles/profile_name/logs/server-cluster_name folder.

Task topic

Terms of Use | Rate this page

Timestamp iconLast updated: 12 Dec 2005
http://publib.boulder.ibm.com/infocenter/dmndhelp/v6rxmx/index.jsp?topic=/com.ibm.websphere.wesb.doc\doc\tmon_configjavalog.html

(C) Copyright IBM Corporation 2005. All Rights Reserved.
This information center is powered by Eclipse technology. (http://www.eclipse.org)