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

buildcfg/log_level.txt ยท Last modified: 2012/03/27 11:42 by mcb30
Recent changes RSS feed CC Attribution-Share Alike 4.0 International Driven by DokuWiki
All uses of this content must include an attribution to the iPXE project and the URL http://ipxe.org
References to "iPXE" may not be altered or removed.