Skip to content

Instantly share code, notes, and snippets.

@robinsmidsrod
Created June 5, 2017 20:23
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save robinsmidsrod/2d1fe2a5d315bf63abe5df44222520e8 to your computer and use it in GitHub Desktop.
Save robinsmidsrod/2d1fe2a5d315bf63abe5df44222520e8 to your computer and use it in GitHub Desktop.
iPXE console.h customization for useful logging to syslog
/* Everything but LOG output to BIOS console */
#undef CONSOLE_PCBIOS
#define CONSOLE_PCBIOS ( CONSOLE_USAGE_ALL & ~CONSOLE_USAGE_LOG )
#define CONSOLE_VESAFB
/* Everything but TUI output to syslog console */
#undef CONSOLE_SYSLOG
#define CONSOLE_SYSLOG ( CONSOLE_USAGE_ALL & ~CONSOLE_USAGE_TUI )
#undef LOG_LEVEL
#define LOG_LEVEL LOG_ALL /* Full syslog logging */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment