From 4e97e253d23ff3f2cc3c8717d0994eb06857a3c9 Mon Sep 17 00:00:00 2001 From: bert hubert Date: Tue, 2 Feb 2016 19:17:18 +0100 Subject: [PATCH] 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! --- pdns/lua-recursor4.cc | 2 ++ 1 file changed, 2 insertions(+) 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}, -- 2.40.0