Table of Contents

Log message level

Name

  LOG_LEVEL

Header file

Configured via config/console.h.

Examples

Send all log messages to a remote syslog server

  #define LOG_LEVEL LOG_ALL
  #define CONSOLE_SYSLOG CONSOLE_USAGE_LOG 

Send only error log messages to a remote syslog server

  #define LOG_LEVEL LOG_ERR
  #define CONSOLE_SYSLOG CONSOLE_USAGE_LOG

Show all log messages on default BIOS console

  #define LOG_LEVEL LOG_ALL
  #define CONSOLE_PCBIOS CONSOLE_USAGE_ALL

Description

This build option configures the minimum level of log messages that will be reported. Valid values are

LOG_EMERG Emergency: system is unusable
LOG_ALERT Alert: action must be taken immediately
LOG_CRIT Critical: critical conditions
LOG_ERR Error: error conditions
LOG_WARNING Warning: warning conditions
LOG_NOTICE Notice: normal but significant conditions
LOG_INFO Informational: informational messages
LOG_DEBUG Debug: debug-level messages
LOG_ALL Log all messages
LOG_NONE Do not log any messages

See also