diff options
author | Matthew Wild <mwild1@gmail.com> | 2011-01-11 22:40:09 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2011-01-11 22:40:09 +0000 |
commit | ddde44eb046ea134888b93df74021a521b737d8a (patch) | |
tree | 7b8c6bd32e3aca67f5b8579901b3ad9355d62303 /core/loggingmanager.lua | |
parent | fe53d96e7d4575d7c629f3679fae5edc48b7526b (diff) | |
download | prosody-ddde44eb046ea134888b93df74021a521b737d8a.tar.gz prosody-ddde44eb046ea134888b93df74021a521b737d8a.zip |
loggingmanager: Remove event hook that never fired anyway, and held logfiles open - leave the GC to close them now.
Diffstat (limited to 'core/loggingmanager.lua')
-rw-r--r-- | core/loggingmanager.lua | 6 |
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 |