vger: add LOG_INFO into syslog

This commit is contained in:
Solene Rapenne 2022-11-11 11:08:41 +01:00
parent cad05817d3
commit f647ff347a

2
vger.c
View File

@ -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 */