vger: add LOG_INFO into syslog

master 2.0.1
Solene Rapenne 2 weeks ago
parent cad05817d3
commit f647ff347a
  1. 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…
Cancel
Save