From 64d17dbd509d15ddf41bfc5d5b88d53b5af98155 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Mon, 26 Mar 2012 19:02:30 +0100 Subject: [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 --- src/net/udp/syslog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/net') diff --git a/src/net/udp/syslog.c b/src/net/udp/syslog.c index 8788e1c45..abf51359e 100644 --- a/src/net/udp/syslog.c +++ b/src/net/udp/syslog.c @@ -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 */ -- cgit v1.2.3-55-g7522