Software /
code /
prosody
Diff
net/connlisteners.lua @ 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 |
parent | 908:b0ecd18e0558 |
child | 1523:841d61be198f |
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