mirror of
https://github.com/ipxe/ipxe
synced 2025-12-28 18:42:53 +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:
@@ -39,7 +39,7 @@ FILE_LICENCE ( GPL2_OR_LATER );
|
||||
/* Set default console usage if applicable */
|
||||
#if ! ( defined ( CONSOLE_SYSLOG ) && CONSOLE_EXPLICIT ( CONSOLE_SYSLOG ) )
|
||||
#undef CONSOLE_SYSLOG
|
||||
#define CONSOLE_SYSLOG CONSOLE_USAGE_ALL
|
||||
#define CONSOLE_SYSLOG ( CONSOLE_USAGE_ALL & ~CONSOLE_USAGE_TUI )
|
||||
#endif
|
||||
|
||||
/** The syslog server */
|
||||
|
||||
Reference in New Issue
Block a user