core/sessionmanager.lua

changeset 356
8ff322b550a3
parent 339
c6446bbfe40c
child 357
17bcecb06420
--- a/core/sessionmanager.lua	Thu Nov 20 01:31:15 2008 +0000
+++ b/core/sessionmanager.lua	Thu Nov 20 01:32:24 2008 +0000
@@ -30,6 +30,7 @@
 		getmetatable(session.trace).__gc = function () open_sessions = open_sessions - 1; print("Session got collected, now "..open_sessions.." sessions are allocated") end;
 	end
 	open_sessions = open_sessions + 1;
+	log("info", "open sessions now: ".. open_sessions);
 	local w = conn.write;
 	session.send = function (t) w(tostring(t)); end
 	return session;

mercurial