Log level can be configured using the configuration parameter log_level. The different log levels and their description are explained in below table. The default log_level is info.
Log Level Description | Log Level Description |
error | Logs events that might still allow the application to continue running. Setting the log level for an application to error generates error messages only, but does not generate warn, info, or debug messages. |
warn |
Logs potentially harmful events. Setting the log level for an application to warn generates error and warn messages but does not generate error or debug messages. |
info |
Logs informational messages that describe the progress of the application. Setting the log level for an application to info generates info, warn, and error messages, but does not generate debug messages. |
debug |
Logs informational events that are useful for debugging an application. Setting the log level for an application to debug generates info, warn, error, and debug messages. |