diff options
author | Matthew Wild <mwild1@gmail.com> | 2008-12-04 16:41:32 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2008-12-04 16:41:32 +0000 |
commit | bf3bb39ea3ebf1faff066579a2647e31aa031ace (patch) | |
tree | 42645bec5e5eb9e426ffa337faa9d044fd52c559 /net | |
parent | 3ba7342f583a1b9a5c1d5d05c5febd2358e81435 (diff) | |
download | prosody-bf3bb39ea3ebf1faff066579a2647e31aa031ace.tar.gz prosody-bf3bb39ea3ebf1faff066579a2647e31aa031ace.zip |
Fix logger ids for c2s and s2sout
Diffstat (limited to 'net')
-rw-r--r-- | net/xmppclient_listener.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/xmppclient_listener.lua b/net/xmppclient_listener.lua index 8ab3008c..a0d7ea57 100644 --- a/net/xmppclient_listener.lua +++ b/net/xmppclient_listener.lua @@ -101,7 +101,7 @@ function xmppclient.listener(conn, data) local mainlog, log = log; do - local conn_name = tostring(conn):match("[a-f0-9]+$"); + local conn_name = "c2s"..tostring(conn):match("[a-f0-9]+$"); log = logger.init(conn_name); end local print = function (...) log("info", t_concatall({...}, "\t")); end |