wrapper.logfile.flush.timeout |
||||||||
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.
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. ADVERTENCIAThe 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 |
|