Changeset

8693:6e24a69b03af

loggingmanager: Hook event for reopening log files instead of config reloaded
author Kim Alvefur <zash@zash.se>
date Sun, 25 Mar 2018 17:02:39 +0200
parents 8692:a55574754e5f
children 8694:059183e5571e
files core/loggingmanager.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/core/loggingmanager.lua	Sun Mar 25 17:02:00 2018 +0200
+++ b/core/loggingmanager.lua	Sun Mar 25 17:02:39 2018 +0200
@@ -160,7 +160,7 @@
 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 ---