aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/loggingmanager.lua6
1 files changed, 0 insertions, 6 deletions
diff --git a/core/loggingmanager.lua b/core/loggingmanager.lua
index 40b96d52..0e0ae862 100644
--- a/core/loggingmanager.lua
+++ b/core/loggingmanager.lua
@@ -266,12 +266,6 @@ function log_sink_types.file(config)
end
local write, flush = logfile.write, logfile.flush;
- prosody.events.add_handler("logging-reloading", function ()
- if logfile then
- logfile:close();
- end
- end);
-
local timestamps = config.timestamps;
if timestamps == nil or timestamps == true then