Compare commits

...

2 Commits

Author SHA1 Message Date
Solene Rapenne f647ff347a vger: add LOG_INFO into syslog 2022-11-11 11:08:41 +01:00
solene cad05817d3 Merge pull request 'relative_cgi' (#10) from relative_cgi into master
Reviewed-on: #10
2022-09-20 12:04:10 +00:00
1 changed files with 1 additions and 1 deletions

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