diff --git a/gophernicus.8 b/gophernicus.8 index f60c545..80f010e 100644 --- a/gophernicus.8 +++ b/gophernicus.8 @@ -196,9 +196,7 @@ Disable execution of gophermaps and scripts. Disable HTTP response to HTTP GET and POST requests. .It Fl d Print debug output in -.Xr syslog 3 -and -.Pa /server-status . +.Xr syslog 3 . When .Fl ns (disable diff --git a/src/log.c b/src/log.c index 5da10af..32acc2c 100644 --- a/src/log.c +++ b/src/log.c @@ -27,9 +27,7 @@ void log_init(int enable, int debug) _enable = enable; - openlog(PROGNAME, - LOG_PID | (debug ? LOG_PERROR : 0), - LOG_DAEMON); + openlog(PROGNAME, LOG_PID, LOG_DAEMON); setlogmask(_LOG_UPTO(debug ? LOG_DEBUG : LOG_INFO)); }