Please or
Try NowBuy Now
Google

Locations of visitors to this page

wrapper.logfile Property
wrapper.logfile Property

Configuration Property Overview

wrapper.logfile

Log file to which all output to the console will be logged.

For further information about "rolling mode of log file", "output format of log file", and "log level of log file", please review the description at each property.

Default:

If this property is not specified, then logging will be written to a file called "wrapper.log" in the same directory as the Wrapper executable by the default.

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 Name generated 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. The file name will result in "wrapper.log.ROLLNUM", with the roll numbers appended to the log file name "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 log file, ".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 format, it will be stripped from the generated file name. When a token part is stripped, the preceding character will also be stripped if it is a ".", "-", or "_".

wrapper.logfile.umask

You can set "umask" on this file. See the wrapper.*.umask property.

Related Properties:





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.4.0