Software /
code /
prosody
Diff
core/sessionmanager.lua @ 4995:47a7ac6508b3
sessionmanager: Lower 'destroying session' message to 'debug' level (from 'info')
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Mon, 23 Jul 2012 18:26:30 +0100 |
parent | 4993:5243b74a4cbb |
child | 5211:80635a6cb126 |
line wrap: on
line diff
--- a/core/sessionmanager.lua Mon Jul 23 17:35:18 2012 +0100 +++ b/core/sessionmanager.lua Mon Jul 23 18:26:30 2012 +0100 @@ -83,7 +83,7 @@ end function destroy_session(session, err) - (session.log or log)("info", "Destroying session for %s (%s@%s)%s", session.full_jid or "(unknown)", session.username or "(unknown)", session.host or "(unknown)", err and (": "..err) or ""); + (session.log or log)("debug", "Destroying session for %s (%s@%s)%s", session.full_jid or "(unknown)", session.username or "(unknown)", session.host or "(unknown)", err and (": "..err) or ""); if session.destroyed then return; end -- Remove session/resource from user's session list