From: Tomas Krizek Date: Wed, 15 Sep 2021 14:43:53 +0000 (+0200) Subject: lua: use notice level for log() X-Git-Tag: v5.4.2~6^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=39dd89db;p=thirdparty%2Fknot-resolver.git lua: use notice level for log() By default, notice level is set. Thus, if users want to use log() in the same way as pre-5.4, they'd have to increase the log level. This bumps the log level of log() function to keep the same behavior. --- diff --git a/NEWS b/NEWS index 761d46a8f..24813d2b4 100644 --- a/NEWS +++ b/NEWS @@ -7,6 +7,10 @@ Improvements - dns64 module: allow disabling based on client address (#368, !1201) - dns64 module: allow configuring AAAA subnets not allowed in answer (!1201) +Bugfixes +-------- +- lua: log() output is visible with default log level again (!1208) + Knot Resolver 5.4.1 (2021-08-19) ================================ diff --git a/daemon/lua/sandbox.lua.in b/daemon/lua/sandbox.lua.in index 8eebbfab7..cd9ec25b6 100644 --- a/daemon/lua/sandbox.lua.in +++ b/daemon/lua/sandbox.lua.in @@ -69,7 +69,7 @@ function log_debug(grp, fmt, ...) end function log(fmt, ...) - log_info(ffi.C.LOG_GRP_MODULE, fmt, ...) + log_notice(ffi.C.LOG_GRP_MODULE, fmt, ...) end -- Resolver bindings