From: Pieter Lexis Date: Tue, 1 Sep 2015 11:53:04 +0000 (+0200) Subject: Fix --loglevel set to > 32K, closes #2690 X-Git-Tag: dnsdist-1.0.0-alpha1~248^2~72^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F2723%2Fhead;p=thirdparty%2Fpdns.git Fix --loglevel set to > 32K, closes #2690 --- 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.