GUAC-911: Log to STDERR always.
This commit is contained in:
parent
661193fcb0
commit
f8484c0e1e
@ -85,8 +85,7 @@ void vguacd_log(guac_client_log_level level, const char* format,
|
|||||||
/* Log to syslog */
|
/* Log to syslog */
|
||||||
syslog(priority, "%s", message);
|
syslog(priority, "%s", message);
|
||||||
|
|
||||||
/* Log to STDERR, if high enough log level */
|
/* Log to STDERR */
|
||||||
if (priority <= LOG_INFO)
|
|
||||||
fprintf(stderr, GUACD_LOG_NAME "[%i]: %s: %s\n",
|
fprintf(stderr, GUACD_LOG_NAME "[%i]: %s: %s\n",
|
||||||
getpid(), priority_name, message);
|
getpid(), priority_name, message);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user