GUAC-911: Log to STDERR always.

This commit is contained in:
Michael Jumper 2014-11-09 21:00:59 -08:00
parent 661193fcb0
commit f8484c0e1e

View File

@ -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);
}