core/loggingmanager.lua
changeset 4117 b42ca82b0ea4
parent 3870 84ee4a4ef7d5
child 4123 0c9399a66b17
--- 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