Log4j1 configuration XML file
Understand properties in the log4j1 XML file.
The following table describes the properties in the log4j1 XML file.
| Property | Description |
|---|---|
| In the log4j1 configuration XML File | |
| priority subelement of the root element | Specify the level of logging desired. The logging level defined
in the log4jconfig.xml file is restrictive. You can
control the logging level criteria either through the System Management
Console or by calling the modifyTrace API. The following are valid values for logging levels:
|
| appender subelement | At the root level, this attribute specifies the associated name and class attribute. Choose a
valid log4j1 appender class. Each subelement can also specify the layout of the message through the layout subelement and can filter for levels through the filter subelement. Instead of hardcoding the absolute path for the log file under the appender you
plan to use, IBM® recommends that customers
should also use a |
| param subelement of the appender element | This attribute specifies the associated name and value attribute. You can set the following
variables using the param attribute:
|