World Map
Java Service Wrapper is the easiest way to make your product more reliable.
  • Free Trial
  • Buy Now
wrapper.event.<event_name>.command.loglevel Property

wrapper.event.<event_name>.command.loglevel

Compatibility :3.3.0
Editions :Professional EditionStandard Edition (Not Supported)Community Edition (Not Supported)
Platforms :WindowsMac OSXLinuxIBM AIXFreeBSDHP-UXSolarisIBM z/OSIBM z/Linux

This property is used to tell the Wrapper how to log information about event commands being executed.

Like several of the event command properties, it can be defined:

  • Globally for all events: wrapper.event.default.command.loglevel property, or
  • For a specific event: wrapper.event.<event_name>.command.loglevel property.

The "<event_name>" component of the property name can be either the keyword "default", or one of the Event Types. By setting the default property, all Event Types which are not set explicitly will take on that value.

Currently only the command line of the event command is logged.

Valid log levels include:

  • NONE - to never log,
  • FATAL - to log at the FATAL log level,
  • ERROR - to log at the ERROR log level,
  • STATUS - to log at the STATUS log level,
  • INFO - to log at the INFO log level,
  • DEBUG - to log at the DEBUG log level.

The default value is DEBUG.

Example:
wrapper.event.jvm_prelaunch.loglevel=DEBUG

Problems?:

Setting the loglevel to INFO for example can be a useful way to debug the generated command lines without having to view all debug output.

Example:
wrapper.event.default.command.loglevel=INFO

Please see the Event Commands documention for more examples and an explanation of how the various event properties can be used together.

Reference: Event Command