wrapper.logfile.close.timeout

Compatibilidad :3.5.21
Ediciones :Edición ProfesionaEdición EstándarEdición de la Comunidad
Plataformas :WindowsMac OSXLinuxIBM AIXFreeBSDHP-UXSolarisIBM z/OSIBM z/Linux

When the JVM application is idle for long periods of time, the Wrapper by default will close its log file so it can be deleted or manipulated in other ways. This property controls the number of seconds since the last log entry after which the log file will be closed.

Possible values are in the range of "0" to "3600" seconds, or "-1" to completely disable closing the file. A value of "0" (zero) will cause the log file to be closed immediately after each log entry is written to disk.

The default value is "1" second.

Example:(1 second)
wrapper.logfile.close.timeout=1

When the log file is closed, any unflushed log output will be flushed automatically. The interval at which the log file is flushed can be controlled using the wrapper.logfile.flush.timeout property.

ADVERTENCIA

The value of "0" (zero) will have a noticeable performance impact on the Wrapper as it will become necessary to open and close the file for every single line of output.

NOTA

For backwards compatibility, this property gets its default value from the deprecated wrapper.logfile.inactivity.timeout property (which existed since Wrapper version 3.2.0, and deprecated as of Wrapper version 3.5.21).

Referencia: Archivo de Registro