mod_firewall/actions.lib.lua
changeset 2133 26334f4a8eb9
parent 2129 edf5cf3c474b
child 2419 07d7036040ee
--- a/mod_firewall/actions.lib.lua	Fri Mar 18 09:47:52 2016 +0000
+++ b/mod_firewall/actions.lib.lua	Fri Mar 18 09:51:01 2016 +0000
@@ -158,7 +158,7 @@
 function action_handlers.LOG(string)
 	local level = string:match("^%[(%a+)%]") or "info";
 	string = string:gsub("^%[%a+%] ?", "");
-	return meta(("log(%q, %q)"):format(level, string));
+	return meta(("(session.log or log)(%q, %q)"):format(level, string));
 end
 
 function action_handlers.RULEDEP(dep)