Software /
code /
prosody
Diff
plugins/mod_c2s.lua @ 5801:224644752bf4
mod_c2s, mod_s2s: Log cipher and encryption info in a more compact and (hopefully) less confusing way
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 14 Aug 2013 15:00:36 +0200 |
parent | 5789:3b05a86631b9 |
child | 5802:5b79710dd5a1 |
line wrap: on
line diff
--- a/plugins/mod_c2s.lua Wed Aug 14 14:53:50 2013 +0200 +++ b/plugins/mod_c2s.lua Wed Aug 14 15:00:36 2013 +0200 @@ -73,8 +73,7 @@ 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");