]> granicus.if.org Git - pdns/commitdiff
Fix --loglevel set to > 32K, closes #2690
authorPieter Lexis <pieter.lexis@powerdns.com>
Tue, 1 Sep 2015 11:53:04 +0000 (13:53 +0200)
committerPieter Lexis <pieter.lexis@powerdns.com>
Tue, 1 Sep 2015 11:53:04 +0000 (13:53 +0200)
pdns/logger.hh

index f6d0c20fc6da144df40536687fdabae9317e2591..70e8f983d101e8508626c93ef0011b77069b5b4d 100644 (file)
@@ -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.