wrapper.logfile.maxsize

Compatibility :2.2.5
Editions :Professional EditionStandard EditionCommunity Edition
Platforms :WindowsMac OSXLinuxIBM AIXFreeBSDHP-UXSolarisIBM z/OSIBM z/Linux

The log file can be set to roll when the file reaches a specified size.

This property is ignored unless the wrapper.logfile.rollmode property has a value of SIZE, SIZE_OR_WRAPPER, or SIZE_OR_JVM.

The default value is "0" (zero), which means no limit on the size.

To roll the file, specify a maximum file size in "bytes". The size can be abbreviated with the suffixes:

  • 'k' for kilobytes, or

  • 'm' for megabytes

For example, '10m' sets the log file to be rolled when it reaches a size of 10 megabytes.

Example (max 10 megabytes):
wrapper.logfile.maxsize=10m

Reference: logfile