Documentation

loglevel

This specifies the priority level that depends on the severity of the message. The loglevel attribute is used in all logging methods including syslog.

There are six possible values for the loglevel:

  • off: Disables logging.
  • error: Logs only error messages. It is possible to see if the application is running.
  • warning: Logs non critical error situations.
  • info: Logs informational, warning, and error messages, providing a general overview of the system's status. Recommended for production setups.
  • debug: Logs more detailed debugging information.
  • trace: Logs protocol level information for each request and response. This can be very noisy.
Navigation
Parents