aboutsummaryrefslogtreecommitdiffstats
path: root/core/loggingmanager.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-03-25 17:02:39 +0200
committerKim Alvefur <zash@zash.se>2018-03-25 17:02:39 +0200
commitf7db87ef3ceb32356574d457e693be7435b1b8aa (patch)
tree6464a6f041fa4fdd00acf594b9cba9dab45e2f42 /core/loggingmanager.lua
parent668062a467b2601636132fd192c4a4fc4f9ed84b (diff)
downloadprosody-f7db87ef3ceb32356574d457e693be7435b1b8aa.tar.gz
prosody-f7db87ef3ceb32356574d457e693be7435b1b8aa.zip
loggingmanager: Hook event for reopening log files instead of config reloaded
Diffstat (limited to 'core/loggingmanager.lua')
-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 ---