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

When a Java application writes log outputs with one or several calls to System.out.print("..."), followed by System.out.println("...") (containing a line feed), the Wrapper will wait until the line is completed before to print it.

However, to prevent cases where it would wait too long, the Wrapper may add extra line feeds in its log output and print each split part one after the other.

This property makes it possible to configure a time threshold, counted from the beginning of a line, after which the Wrapper will automatically print the buffered data and insert a line feed.

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)

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