aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/loggingmanager.lua2
1 files changed, 1 insertions, 1 deletions
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 ---