From: bert hubert Date: Tue, 2 Feb 2016 18:17:18 +0000 (+0100) Subject: turns out.. there is an Alert loglevel and an Emergency loglevel which we documented... X-Git-Tag: dnsdist-1.0.0-alpha2~14 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4e97e253d23ff3f2cc3c8717d0994eb06857a3c9;p=pdns turns out.. there is an Alert loglevel and an Emergency loglevel which we documented but did not expose to Lua. Thanks to @cyclops1982 for noticing! --- diff --git a/pdns/lua-recursor4.cc b/pdns/lua-recursor4.cc index 42bf13b4d..c8e9dad3d 100644 --- a/pdns/lua-recursor4.cc +++ b/pdns/lua-recursor4.cc @@ -317,8 +317,10 @@ RecursorLua4::RecursorLua4(const std::string& fname) }; pd.push_back({"loglevels", in_t{ + {"Alert", LOG_ALERT}, {"Critical", LOG_CRIT}, {"Debug", LOG_DEBUG}, + {"Emergency", LOG_EMERG}, {"Info", LOG_INFO}, {"Notice", LOG_NOTICE}, {"Warning", LOG_WARNING},