|
Log file to which all output to the console will be logged.
Default:
By the default, file logging will be written to a file called "wrapper.log"
in a logs directory under the application's home directory.
| Example ("wrapper.log"): |
wrapper.logfile=../logs/wrapper.log
|
Logging Disable:
Setting the property to a blank value will cause file logging to be disabled.
Log File split by Tokens:
The specified log file name may contain one or both of the tokens;
ROLLNUM and YYYYMMDD.
"ROLLNUM" Token:
The ROLLNUM token is used when the log file is rolled.
A wrapper.logfile of "wrapper.log.ROLLNUM" will result in a logfile named "wrapper.log".
The larger roll number values, the older files.
The most recent rolled log file will always have a roll number of "1", which is "wrapper.log.1".
The second recent one will be "wrapper.log.2".
If a ROLLNUM token is not included in the specified logfile,
".ROLLNUM" will be appended at the end by default.
| Examples with ROLLNUM token : |
wrapper.logfile=../logs/wrapper.log.ROLLNUM
wrapper.logfile=../logs/wrapper-ROLLNUM.log
|
"YYYYMMDD" Token:
The YYYYMMDD token is required when the
wrapper.logfile.rollmode
property has a value of DATE. This token will be replaced by the date of
the log entries contained in the file.
| Examples with YYYYMMDD token : |
wrapper.logfile=../logs/wrapper.YYYYMMDD.log
wrapper.logfile=../logs/wrapper-YYYYMMDD.log
wrapper.logfile=../logs/wrapper_YYYYMMDD.log
|
Token Strip:
Whenever either token does not apply to a given file name,
it will be stripped from the generated file name. When a token is stripped,
the preceding character will also be stripped if it is a ".", "-", or "_".
Please review the wrapper.logfile.rollmode
property for details on what possible log rolling modes are available.
|