# HG changeset patch # User Matthew Wild <mwild1@gmail.com> # Date 1294785609 0 # Node ID b42ca82b0ea4076772146d7a3beffeb5ccabdf24 # Parent 801725a32c96a6bbc1cdb922094f72e269f5e91f loggingmanager: Remove event hook that never fired anyway, and held logfiles open - leave the GC to close them now. diff -r 801725a32c96 -r b42ca82b0ea4 core/loggingmanager.lua --- a/core/loggingmanager.lua Tue Jan 11 06:18:24 2011 +0000 +++ b/core/loggingmanager.lua Tue Jan 11 22:40:09 2011 +0000 @@ -266,12 +266,6 @@ 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