mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 05:37:39 +03:00
loggingmanager: Remove event hook that never fired anyway, and held logfiles open - leave the GC to close them now.
This commit is contained in:
parent
fe53d96e7d
commit
ddde44eb04
1 changed files with 0 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue