vger: add LOG_INFO into syslog
This commit is contained in:
parent
cad05817d3
commit
f647ff347a
2
vger.c
2
vger.c
|
@ -30,7 +30,7 @@ stop(const int r, const char *fmt, ...)
|
|||
fflush(stdout); /* ensure all data is sent */
|
||||
|
||||
/* log the request and retcode */
|
||||
syslog(LOG_DAEMON, "\"%s\" %i %zd", _request, _retcode, _datasiz);
|
||||
syslog(LOG_DAEMON|LOG_INFO, "\"%s\" %i %zd", _request, _retcode, _datasiz);
|
||||
|
||||
if (r != EXIT_SUCCESS) {
|
||||
/* log and print error */
|
||||
|
|
Loading…
Reference in New Issue