Mercurial > prosody-modules
changeset 1091:79ef0427765f
mod_s2s_log_certs: Minor grammar change
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 28 Jun 2013 03:24:35 +0200 |
parents | 1aa48916eb8b |
children | f46307e8e2f8 |
files | mod_s2s_log_certs/mod_s2s_log_certs.lua |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_s2s_log_certs/mod_s2s_log_certs.lua Fri Jun 28 03:22:48 2013 +0200 +++ b/mod_s2s_log_certs/mod_s2s_log_certs.lua Fri Jun 28 03:24:35 2013 +0200 @@ -17,10 +17,11 @@ local chain_status = session.cert_chain_status; local identity_status = session.cert_identity_status; - module:log("info", "Spotted %s %s certificate used by %s with %s: %s", + module:log("info", "%s has a %s %s certificate with %s: %s", + remote_host, chain_status == "valid" and "trusted" or "untrusted", identity_status or "invalid", - remote_host, digest_algo:upper(), + digest_algo:upper(), digest:upper():gsub("..",":%0"):sub(2)); if do_store then