From 37a8e048ed9366490a921ee25c4c01045a62ae8e Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Wed, 1 Jun 2022 16:29:40 +0200 Subject: [PATCH] dnsdist: Log verbose messages to syslog at 'debug' level, not 'info' --- pdns/dolog.hh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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) -- 2.47.2