Changeset

1099:127e6ae089f8

net.connlisteners: Lower log level of multiple listeners warning (not interesting to end-users)
author Matthew Wild <mwild1@gmail.com>
date Sun, 03 May 2009 01:10:49 +0100
parents 1098:37ea264e133d
children 1100:05d209ef9661 1101:fb096ca4b296
files net/connlisteners.lua
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/net/connlisteners.lua	Sun May 03 01:09:57 2009 +0100
+++ b/net/connlisteners.lua	Sun May 03 01:10:49 2009 +0100
@@ -21,11 +21,11 @@
 
 function register(name, listener)
 	if listeners[name] and listeners[name] ~= listener then
-		log("warn", "Listener %s is already registered, not registering any more", name);
+		log("debug", "Listener %s is already registered, not registering any more", name);
 		return false;
 	end
 	listeners[name] = listener;
-	log("info", "Registered connection listener %s", name);
+	log("debug", "Registered connection listener %s", name);
 	return true;
 end