The IBM® Service log
is enabled by default. You can change this setting or modify the names,
location, file size, and severity level to be logged in the log.
About this task
The service log, also called as the activity.log, is a standard WebSphere® Application Server log used for
messages. For detailed information about the log, refer to the service
log topics in the WebSphere Application
Server information center.
Procedure
- Start the WebSphere Application
Server administrative console and log on, if necessary.
- Click to open the Logging
and Tracing page.
- Double-click the name of the server that you want to configure.
For example, server1.
- Click IBM Service Logs to view the
configuration options.
- Select or clear the Enable service log box
to enable or disable logging. The service log is enabled
by default.
- Set the name for the service log in the File
Name field. The default name is activity.log.
If the name is changed, the runtime requires write access to the new
file, and the file must use the .log extension.
- Specify the number of megabytes to which the file can grow
in the Maximum File Size field. When the file
reaches this size, it wraps, replacing the oldest data with the newest
data.
- Click Apply to save the configuration
changes.
- Restart the server for the configuration changes to take
effect.