Log and trace configuration service settings
Use this page to configure log and trace service settings for use in troubleshooting and problem determination.
The Log and trace configuration page is available for Modernized Runtime Extension for Java only and is supported for managed Liberty servers only.
To view this administrative console page, click .
Common log and trace configuration settings
To apply log and trace configuration settings changes to managed Liberty servers, you must synchronize the node after changing the settings.
If you select this option, you must specify the following parameters:
- Maximum File Size
-
Specifies the maximum size, in megabytes, to which the output file is allowed to grow. This attribute is only valid if the File Size attribute is selected. When the file reaches this size, it is rolled over.
For a managed Liberty server, this setting maps to the Liberty
maxFileSizeattribute under theloggingserver configuration element. This configuration applies to all log files in Liberty, not just the Liberty trace.log file. To apply changes to themaxFileSizesettings to managed Liberty servers, you must synchronize the node after.
- Maximum Number of Historical Files
-
Specifies the maximum number of rolled over files to keep.
For a managed Liberty server, this setting maps to the Liberty
maxFilesattribute under theloggingserver configuration element. This configuration applies to all log files in Liberty, not just the Liberty trace.log file. To apply changes to themaxFilessettings to managed Liberty servers, you must synchronize the node after.
Trace Configuration Settings
- Trace file name
-
Specifies the name of the file to which the trace output is written.
For a managed Liberty server, the default value is trace.log. Only the file name, for example, trace.log, is used by the binary scanner to update the
traceFileNamelogging attribute in the server.xml file. When you update this value, only valid file names are parsed and applied to the managed Liberty server. Absolute directory paths cannot be set. To apply changes to the Trace File Name settings to managed Liberty servers, you must synchronize the node after.
- Trace output format
- Specifies the format of the trace output.
For a managed Liberty server, Basic, Advanced, and Enhanced trace formats are shown. When a trace format is set, it sets the managed Liberty server trace format to the respective one. To apply changes to the Trace Output or Trace Output Format settings to managed Liberty servers, you must synchronize the node after changing the settings.