From f8484c0e1ec6d2fca44e9e92ea29b7f1980a2a3e Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Sun, 9 Nov 2014 21:00:59 -0800 Subject: [PATCH] GUAC-911: Log to STDERR always. --- src/guacd/log.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/guacd/log.c b/src/guacd/log.c index 2b4f4a41..2ee77a77 100644 --- a/src/guacd/log.c +++ b/src/guacd/log.c @@ -85,10 +85,9 @@ void vguacd_log(guac_client_log_level level, const char* format, /* Log to syslog */ syslog(priority, "%s", message); - /* Log to STDERR, if high enough log level */ - if (priority <= LOG_INFO) - fprintf(stderr, GUACD_LOG_NAME "[%i]: %s: %s\n", - getpid(), priority_name, message); + /* Log to STDERR */ + fprintf(stderr, GUACD_LOG_NAME "[%i]: %s: %s\n", + getpid(), priority_name, message); }