wrapper.logfile.flush.timeout

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

To improve performance, the Wrapper will only flush output written to the log file after a configurable interval. The log file will also be flushed automatically whenever the system output buffer is full.

Possible values are in the range of "0" to "3600" seconds. A value of "0" (zero) will cause the log file to be flushed immediately after each log entry is written to disk.

The default value is "1" second.

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

In most cases, a value longer than 1 or 2 seconds does not make a lot of sense as any performance gains become insignificant. You also risk losing any unflushed log output in the event of a Wrapper or system crash. Be aware that the log file may also be closed after inactivity which will also flush the log file. See the wrapper.logfile.close.timeout property for more information.

ADVERTENCIA

The value of "0" (zero) will have a noticeable performance impact on the Wrapper as flushing a file is relatively heavy operation.

Referencia: Archivo de Registro