aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_s2s/mod_s2s.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2013-08-14 15:00:36 +0200
committerKim Alvefur <zash@zash.se>2013-08-14 15:00:36 +0200
commit938d568ac476bb73e83b8ee44ba61c23f29557a8 (patch)
treed57ee9d481b5590fabb816378ec9e5838fd616a8 /plugins/mod_s2s/mod_s2s.lua
parent1764b9fba374409db402ab96190c9b4cd5db112b (diff)
downloadprosody-938d568ac476bb73e83b8ee44ba61c23f29557a8.tar.gz
prosody-938d568ac476bb73e83b8ee44ba61c23f29557a8.zip
mod_c2s, mod_s2s: Log cipher and encryption info in a more compact and (hopefully) less confusing way
Diffstat (limited to 'plugins/mod_s2s/mod_s2s.lua')
-rw-r--r--plugins/mod_s2s/mod_s2s.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/mod_s2s/mod_s2s.lua b/plugins/mod_s2s/mod_s2s.lua
index 331e99f1..1d03f3e4 100644
--- a/plugins/mod_s2s/mod_s2s.lua
+++ b/plugins/mod_s2s/mod_s2s.lua
@@ -287,8 +287,7 @@ function stream_callbacks.streamopened(session, attr)
local sock = session.conn:socket();
if sock.info then
local info = sock:info();
- (session.log or log)("info", "Stream encrypted (%s) with %s, authenticated with %s and exchanged keys with %s",
- info.protocol, info.encryption, info.authentication, info.key);
+ (session.log or log)("info", "Stream encrypted (%s with %s)", info.protocol, info.cipher);
session.compressed = info.compression;
else
(session.log or log)("info", "Stream encrypted");