diff options
author | rofl0r <rofl0r@users.noreply.github.com> | 2020-01-15 15:09:37 +0000 |
---|---|---|
committer | rofl0r <rofl0r@users.noreply.github.com> | 2020-01-15 15:09:37 +0000 |
commit | 4fb2c1403907a860c407471537484ba5cf1ef992 (patch) | |
tree | ec231e918cc7b73bd8689ef10a7bb518a0df8850 /src | |
parent | 40afaeb63754c8495b92696a3f663a9e42b7b7ac (diff) |
syslog: always use LOG_USER facility
LOG_DAEMON isn't specified in POSIX and the gratuitously different
treatment is in the way of a planned cleanup.
Diffstat (limited to 'src')
-rw-r--r-- | src/log.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -292,10 +292,7 @@ int setup_logging (void) } if (config.syslog) { - if (config.godaemon == TRUE) - openlog ("tinyproxy", LOG_PID, LOG_DAEMON); - else - openlog ("tinyproxy", LOG_PID, LOG_USER); + openlog ("tinyproxy", LOG_PID, LOG_USER); } logging_initialized = TRUE; |