World Map
Java Service Wrapper is the easiest way to make your product more reliable.
  • Free Trial
  • Buy Now
wrapper.console.<x>_to_stderr Properties

wrapper.console.<x>_to_stderr

Compatibilidad :3.5.3
Ediciones :Edición ProfesionaEdición EstándarEdición de la Comunidad
Plataformas :WindowsMac OSXLinuxIBM AIXFreeBSDHP-UXSolarisIBM z/OSIBM z/Linux

The following three properties,

  • wrapper.console.fatal_to_stderr
  • wrapper.console.error_to_stderr
  • wrapper.console.warn_to_stderr

make it possible to control whether FATAL, ERROR, and WARN levels of log output in the console is logged to stdout or stderr.

Example:
wrapper.console.fatal_to_stderr=TRUE
wrapper.console.error_to_stderr=TRUE
wrapper.console.warn_to_stderr=FALSE

NOTA

Prior to Wrapper version 3.5.3, all console log levels were output to stdout.

Starting with Wrapper version 3.5.3, FATAL and ERROR log levels are sent to stderr by default, while all other log levels are sent to stdout.

Most of users will not find it necessary to touch these properties, but they can be useful if it becomes necessary to redirect all log levels back to stdout.

Referencia: Consola