aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-05-03 01:10:49 +0100
committerMatthew Wild <mwild1@gmail.com>2009-05-03 01:10:49 +0100
commit7be3d9f227ff8083e396497507dbdfe9a6049ca8 (patch)
tree998de264c3158273989aa4da3d63503bf8faf1d6
parentc017eb23257e4ea60fb654ffe96aee963e048722 (diff)
downloadprosody-7be3d9f227ff8083e396497507dbdfe9a6049ca8.tar.gz
prosody-7be3d9f227ff8083e396497507dbdfe9a6049ca8.zip
net.connlisteners: Lower log level of multiple listeners warning (not interesting to end-users)
-rw-r--r--net/connlisteners.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/connlisteners.lua b/net/connlisteners.lua
index 48101752..7aaee4c0 100644
--- a/net/connlisteners.lua
+++ b/net/connlisteners.lua
@@ -21,11 +21,11 @@ local listeners = {};
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