Email:
Password:
Please or Register
Google

Locations of visitors to this page

wrapper.logfile Property
wrapper.logfile Property

Configuration Property Overview

wrapper.logfile Property

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.





User Comments

If you notice something that is incorrect, missing, or simply feel that some part of this page could be explained better, feel free to log in and add a comment. You will need to register before you can log on.

Email:
Password:
Java Service Wrapper Version: 3.3.9