diff options
Diffstat (limited to 'core/loggingmanager.lua')
-rw-r--r-- | core/loggingmanager.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/loggingmanager.lua b/core/loggingmanager.lua index 004f4c3b..c281a17c 100644 --- a/core/loggingmanager.lua +++ b/core/loggingmanager.lua @@ -24,6 +24,7 @@ _G.log = logger.init("general"); prosody.log = logger.init("general"); local _ENV = nil; +-- luacheck: std none -- The log config used if none specified in the config file (see reload_logging for initialization) local default_logging; @@ -159,7 +160,7 @@ local function reload_logging() end reload_logging(); -prosody.events.add_handler("config-reloaded", reload_logging); +prosody.events.add_handler("reopen-log-files", reload_logging); --- Definition of built-in logging sinks --- |