Hosted by:
SourceForge
Get Firefox!

wrapper.logfile Property
wrapper.logfile Property
Configuration Property Overview
wrapper.logfile

Log file to which all output to the console will be logged. If the logfile is not specified, then file logging will be written to a file called "wrapper.log" in the same directory as the Wrapper executable. Providing a blank value will cause file logging to be disabled.

Example:
wrapper.logfile=../logs/wrapper.log

The specified log file name may contain one or both of the tokens; ROLLNUM and YYYYMMDD.

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 first rolled log file will be "wrapper.log.1", the second "wrapper.log.2", etc. Larger roll number values indicate older files. The most recently rolled log file will always have a roll number of "1".

If a ROLLNUM is not included in the specified logfile, ".ROLLNUM" will be appended by default.

Examples:
wrapper.logfile=../logs/wrapper.log.ROLLNUM
wrapper.logfile=../logs/wrapper-ROLLNUM.log

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:
wrapper.logfile=../logs/wrapper.YYYYMMDD.log
wrapper.logfile=../logs/wrapper-YYYYMMDD.log
wrapper.logfile=../logs/wrapper_YYYYMMDD.log

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.

by Leif Mortenson

last modified: