GUAC-911: Log to STDERR always.
This commit is contained in:
parent
661193fcb0
commit
f8484c0e1e
@ -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);
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user