From c2eb5ceeaee5b654aea57e823f6cae67639a47df Mon Sep 17 00:00:00 2001 From: Pieter Lexis Date: Tue, 1 Sep 2015 13:53:04 +0200 Subject: [PATCH] Fix --loglevel set to > 32K, closes #2690 --- pdns/logger.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/logger.hh b/pdns/logger.hh index f6d0c20fc6..70e8f983d1 100644 --- a/pdns/logger.hh +++ b/pdns/logger.hh @@ -39,7 +39,7 @@ public: Logger(const string &, int facility=LOG_DAEMON); //!< pass the identification you wish to appear in the log //! The urgency of a log message - enum Urgency : int16_t {All=32767,NTLog=12345,Alert=LOG_ALERT, Critical=LOG_CRIT, Error=LOG_ERR, Warning=LOG_WARNING, + enum Urgency {All=32767,NTLog=12345,Alert=LOG_ALERT, Critical=LOG_CRIT, Error=LOG_ERR, Warning=LOG_WARNING, Notice=LOG_NOTICE,Info=LOG_INFO, Debug=LOG_DEBUG, None=-1}; /** Log a message. -- 2.47.2