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 configures different log levels, which are 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,
  • WARN to log at the WARN 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.command.loglevel=INFO

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.

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

Reference: Event Commands

The Java Service Wrapper provides a full set of configuration properties that allows you to make the Wrapper meet your exact needs. Please take a look at the documentation for the individual properties to see all of the possibilities beyond the examples shown above.