# HG changeset patch # User Kim Alvefur # Date 1521990159 -7200 # Node ID 6e24a69b03af7730f43bc4375db63ce1758f6b3f # Parent a55574754e5fb896d703117845246cf95004f262 loggingmanager: Hook event for reopening log files instead of config reloaded diff -r a55574754e5f -r 6e24a69b03af core/loggingmanager.lua --- 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 ---