World Map
Java Service Wrapper is the easiest way to make your product more reliable.
  • Free Trial
  • Buy Now
wrapper.logfile.inactivity.timeout Property

wrapper.logfile.inactivity.timeout

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

To improve logging performance, the Wrapper writes to its log file without flushing after each write. The performance improvement for large quantities of output can be significant, but it comes at the cost of a possible loss of log data should the Wrapper process or system crash.

This property controls the maximum amount of time, in seconds, that the Wrapper will allow the log file to remain in an unflushed state. A value of "0" (zero) will force the Wrapper to flush the log file after each and every write.

The default value is "1 second".

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

NOTE

This property was implemented in Wrapper version 3.2.0. Prior versions flushed the log file after each any every log entry.

Reference: logfile