From: bert hubert Date: Sat, 17 Jan 2015 22:51:38 +0000 (+0100) Subject: move vinfolog to dolog.hh X-Git-Tag: dnsdist-1.0.0-alpha1~323 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b2ad68250d1450ba0c0ca6c6dc50c019715652c7;p=thirdparty%2Fpdns.git move vinfolog to dolog.hh --- diff --git a/pdns/dnsdist.cc b/pdns/dnsdist.cc index 30733a495e..34a31f00ae 100644 --- a/pdns/dnsdist.cc +++ b/pdns/dnsdist.cc @@ -57,8 +57,6 @@ atomic g_regexBlocks; uint16_t g_maxOutstanding; bool g_console; -#define vinfolog if(g_verbose)infolog - /* UDP: the grand design. Per socket we listen on for incoming queries there is one thread. Then we have a bunch of connected sockets for talking to downstream servers. We send directly to those sockets. diff --git a/pdns/dolog.hh b/pdns/dolog.hh index a3b632c590..a7eea0b4dc 100644 --- a/pdns/dolog.hh +++ b/pdns/dolog.hh @@ -58,6 +58,9 @@ void genlog(int level, const char* s, Args... args) std::cout< void infolog(const char* s, Args... args) { @@ -76,3 +79,4 @@ void errlog(const char* s, Args... args) { genlog(LOG_ERR, s, args...); } +