World Map
Java Service Wrapper is the easiest way to make your product more reliable.
  • Free Trial
  • Buy Now
wrapper.log.lf_delay.threshold Property

wrapper.log.lf_delay.threshold

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

When a Java application write log output with a call to System.out.print("..."), followed by System.out.println("...") after a delay, the Wrapper may not interpret the entire line as a single line. This can result in an extra line feed being added to the Wrapper log output after the first part of the log output.

This property makes it possible to configure the maximum amount of time that will be allowed between the beginning of a line of log output and the end before the line is logged.

The default value is "500" milliseconds. Possible values are "0" (zero) to wait indefinitely, or a value in the range of 1 to 3,600,000ms (1 hour). Values larger or smaller than this range will be silently adjusted.

Example:(500 milliseconds)
wrapper.log.lf_delay.threshold=500

For most applications this is not an issue as they only print output using a single System.out.println("...") call. Breaking up the log output into multiple prints would cause problems when multiple threads print output at the same time.

Reference: logfile