From 6684c9901af17e078bdfef3dda93ba4cd0909bff Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sun, 25 Mar 2018 17:02:39 +0200 Subject: loggingmanager: Hook event for reopening log files instead of config reloaded --- core/loggingmanager.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/loggingmanager.lua b/core/loggingmanager.lua index 7fab30df..c281a17c 100644 --- a/core/loggingmanager.lua +++ b/core/loggingmanager.lua @@ -160,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 --- -- cgit v1.2.3