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

wrapper.log.warning.threshold

Kompatibel :3.5.8
Editionen :Professional EditionStandard EditionCommunity Edition
Betriebssysteme :WindowsMac OSXLinuxIBM AIXFreeBSDHP-UXSolarisIBM z/OSIBM z/Linux

When set to a value larger than "0" (zero), the Wrapper will measure how long each individual logging log takes. It will then record a log entry if the time is ever more than the specified threshold.

NOTE

This is only designed for Wrapper testing and should not be enabled for most systems. Its purpose is to help identify when the Wrapper is encountering delays to to IO backlogs at the system level.

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

Values less than 10 milliseconds will result in fairly regular warning on most systems. The measurements work off of the system time so adjustments to the system time can cause warnings if they occur between measurements.

Example:(10 milliseconds)
wrapper.log.warning.threshold=10

Reference: logfile