diff options
author | Matthew Wild <mwild1@gmail.com> | 2008-11-14 02:41:37 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2008-11-14 02:41:37 +0000 |
commit | 428fc65bbc595d80cb678dadcc9ea7cae055d5b9 (patch) | |
tree | 5ab99b9b588fba94f6cdd797ac7a6311162ca8aa /core | |
parent | 6d9485225a4c8c9b339ca9cea137ba3f2de6fd64 (diff) | |
download | prosody-428fc65bbc595d80cb678dadcc9ea7cae055d5b9.tar.gz prosody-428fc65bbc595d80cb678dadcc9ea7cae055d5b9.zip |
Some more logging fixes
Diffstat (limited to 'core')
-rw-r--r-- | core/s2smanager.lua | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/core/s2smanager.lua b/core/s2smanager.lua index 4fa22957..6d00ff6e 100644 --- a/core/s2smanager.lua +++ b/core/s2smanager.lua @@ -103,11 +103,11 @@ function new_outgoing(from_host, to_host) conn = wraptlsclient(cl, conn, to_host, 5269, 0, 1, hosts[from_host].ssl_ctx ); host_session.conn = conn; - + -- Register this outgoing connection so that xmppserver_listener knows about it -- otherwise it will assume it is a new incoming connection cl.register_outgoing(conn, host_session); - + do local conn_name = "s2sout"..tostring(conn):match("[a-f0-9]*$"); host_session.log = logger_init(conn_name); @@ -122,7 +122,6 @@ function new_outgoing(from_host, to_host) end function streamopened(session, attr) - session.log("debug", "s2s stream opened"); local send = session.sends2s; session.version = tonumber(attr.version) or 0; @@ -166,7 +165,7 @@ function streamopened(session, attr) end send("</stream:features>");]] - log("info", "s2s stream opened successfully"); + session.notopen = nil; end |