This section describes the architecture of the Log4j.properties file.
This file is used in the setup and configuration of logging output
and messages from the application.
For more information, see the following two areas:
- http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/PatternLayout.html
- http://logging.apache.org/log4j/1.2/manual.html
Modifiable Field |
log4j.rootLogger |
Field Description |
Defines the level of the logger and where it outputs
the logging requests to, that is it's appenders. |
Possible Values |
User defined for example - WARN, A1, Rolling Logger
has a level of WARN and two appenders A1 and Rolling. |
Value Definition |
There are various levels of logger FATAL,
ERROR, WARN, INFO, DEBUG, TRACE, ALL For more details, see http://logging.apache.org/log4j/1.2/manual.html |
Modifiable Field |
log4j.logger.com.ibm |
Field Description |
Defines the level of logging information to be
output. |
Possible Values |
- TRACE
- DEBUG
- INFO
- WARN
- ERROR
- FATAL
- OFF
|
Value Definition |
The above values are displayed in order of how
much information is logged. Whichever value is set, information for
this level and above is logged. For example setting the value to DEBUG
means that information from debug messages to fatal messages is logged.
For a value of WARN, means that warning information to fatal information
is logged. Note: After changing the value for this property and clicking
Submit to save the file, you should restart the BigFix® Remote Control
Server service. |
Modifiable Field |
log4j.appender.A1 |
Field Description |
Defines the output destination that appender A1
will send the formatted messages to . |
Possible Values |
User defined, for example org.apache.log4j.ConsoleAppender
sends the messages to the console |
Value Definition |
|
log4j.appender.A1.layout =
Modifiable Field |
log4j.appender.A1.layout |
Field Description |
Used to specify the output format of the log messages |
Possible Values |
User defined for example - org.apache.log4j.PatternLayout |
Value Definition |
|
log4j.appender.A1.encoding =
Modifiable Field |
log4j.appender.A1.encoding |
Field Description |
Encoding type to be used for the message output |
Possible Values |
User defined - for example UTF8 |
Value Definition |
|
log4j.appender.A1.layout.ConversionPattern =
Modifiable Field |
log4j.appender.A1.layout.ConversionPattern |
Field Description |
Defines the pattern to be used for formatting the
output of the log messages |
Possible Values |
User defined |
Value Definition |
See http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/PatternLayout.html |
Modifiable Field |
log4j.appender.Rolling |
Field Description |
Defines the output destination that appender Rolling
will send the formatted messages to . |
Possible Values |
User defined, for example org.apache.log4j.RollingFileAppender sends
the messages to a file |
Value Definition |
|
log4j.appender.Rolling.File =
Modifiable Field |
log4j.appender.Rolling.File |
Field Description |
The name of the file that the messages are logged
to. |
Possible Values |
User defined - for example trc.log |
Value Definition |
|
log4j.appender.Rolling.encoding =
Modifiable Field |
log4j.appender.Rolling.encoding |
Field Description |
Encoding type to be used for the message output |
Possible Values |
User defined |
Value Definition |
|
log4j.appender.Rolling.MaxFileSize =
Modifiable Field |
log4j.appender.Rolling.MaxFileSize |
Field Description |
Maximum size for the log file |
Possible Values |
User defined - for example 2MB |
Value Definition |
|
log4j.appender.Rolling.MaxBackupIndex =
Modifiable Field |
log4j.appender.Rolling.MaxBackupIndex |
Field Description |
Defines the number of back up log files to keep |
Possible Values |
User defined - for example 4 |
Value Definition |
integer |
log4j.appender.Rolling.layout =
Modifiable Field |
log4j.appender.Rolling.layout |
Field Description |
Used to specify the output format of the log messages |
Possible Values |
User defined, for example: org.apache.log4j.PatternLayout |
Value Definition |
|
log4j.appender.Rolling.layout.ConversionPattern =
Modifiable Field |
log4j.appender.Rolling.layout.ConversionPattern |
Field Description |
Defines the pattern to be used for formatting the
output of the log messages |
Possible Values |
User defined |
Value Definition |
See http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/PatternLayout.html |