mirror of
https://github.com/ipxe/ipxe
synced 2025-12-22 21:11:03 +03:00
[console] Exclude text-based UI output from logfile-based consoles
The output from text-based user interfaces such as the "config" command is not generally meaningful for logfile-based consoles such as syslog and vmconsole. Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -117,8 +117,12 @@ struct console_driver {
|
||||
/** Debug messages */
|
||||
#define CONSOLE_USAGE_DEBUG 0x0002
|
||||
|
||||
/** Text-based user interface */
|
||||
#define CONSOLE_USAGE_TUI 0x0004
|
||||
|
||||
/** All console usages */
|
||||
#define CONSOLE_USAGE_ALL ( CONSOLE_USAGE_STDOUT | CONSOLE_USAGE_DEBUG )
|
||||
#define CONSOLE_USAGE_ALL \
|
||||
( CONSOLE_USAGE_STDOUT | CONSOLE_USAGE_DEBUG | CONSOLE_USAGE_TUI )
|
||||
|
||||
/** @} */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user