From: Remi Gacogne Date: Wed, 1 Jun 2022 14:29:40 +0000 (+0200) Subject: dnsdist: Log verbose messages to syslog at 'debug' level, not 'info' X-Git-Tag: auth-4.8.0-alpha0~78^2~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=37a8e048ed9366490a921ee25c4c01045a62ae8e;p=thirdparty%2Fpdns.git dnsdist: Log verbose messages to syslog at 'debug' level, not 'info' --- diff --git a/pdns/dolog.hh b/pdns/dolog.hh index 638db32aa9..bb554ad470 100644 --- a/pdns/dolog.hh +++ b/pdns/dolog.hh @@ -116,8 +116,13 @@ void genlog(int level, const char* s, Args... args) std::cout< +void verboselog(const char* s, Args... args) +{ + genlog(LOG_DEBUG, s, args...); +} -#define vinfolog if(g_verbose)infolog +#define vinfolog if (g_verbose) verboselog template void infolog(const char* s, Args... args)