List of Levels

  • ALL: Log everything. Not a level.
  • TRACE: Trace information
  • DEBUG: Detailed debug information
  • INFO: Normal but significant events
  • WARN: Exceptional occurrences that are not errors (Use of deprecated APIs)
  • WARNING: Alias for WARN
  • ERROR: Runtime errors that do not require immediate action but should be logged and monitored
  • CRITICAL: Critical conditions. Example: Application component unavailable, unexpected exception
  • FATAL: Action must be taken immediately. Example: Entire website down, database unavailable, etc This should trigger the SMS alerts and wake you up
  • ALERT: Alias for FATAL
  • EMERGENCY: Emergency: system is unusable

Enumeration Members

ALERT

Alias for FATAL

ALL

Log everything. Not a level.

CRITICAL

Critical conditions. Example: Application component unavailable, unexpected exception

DEBUG

Detailed debug information

EMERGENCY

Emergency: system is unusable

ERROR

Runtime errors that do not require immediate action but should be logged and monitored

FATAL

Action must be taken immediately. Example: Entire website down, database unavailable, etc This should trigger the SMS alerts and wake you up

INFO

Interesting events

NOTICE

Normal but significant events

TRACE

Trace information

WARN

Exceptional occurrences that are not errors (Use of deprecated APIs)

WARNING

Alias for WARN