Skip to content

Logger Configuration

Larysa Visengeriyeva edited this page Mar 11, 2014 · 2 revisions
  • Currently used logger: slf4j-simple (default logger level: INFO)
  • In oder to activate DEBUG-logger level: In VM Parameters add: -Dorg.slf4j.simpleLogger.defaultLogLevel=DEBUG

Message Priorities/Levels It is important to ensure that log message are appropriate in content and severity. The following guidelines are suggested:

FATAL - Severe errors that cause premature termination. Expect these to be immediately visible on a status console.

ERROR - Other runtime errors or unexpected conditions. Expect these to be immediately visible on a status console.

WARN - Use of deprecated APIs, poor use of API, 'almost' errors, other runtime situations that are undesirable or unexpected, but not necessarily "wrong". Expect these to be immediately visible on a status console.

INFO - Interesting runtime events (startup/shutdown). Expect these to be immediately visible on a console, so be conservative and keep to a minimum.

DEBUG - detailed information on the flow through the system. Expect these to be written to logs only.

TRACE - more detailed information. Expect these to be written to logs only.

Clone this wiki locally