# HG changeset patch # User Matthew Wild # Date 1430832053 -3600 # Node ID 78b3b3add19c35209c65d6848bfac67b1a9a135d # Parent 25412e94fb3e309ce39262a1bfe7ebc4cd67c246 mod_log_slow_events: Minor improvement to log message diff -r 25412e94fb3e -r 78b3b3add19c mod_log_slow_events/mod_log_slow_events.lua --- a/mod_log_slow_events/mod_log_slow_events.lua Tue May 05 13:58:37 2015 +0100 +++ b/mod_log_slow_events/mod_log_slow_events.lua Tue May 05 14:20:53 2015 +0100 @@ -29,7 +29,7 @@ log_data("stanza", tostring(stanza)); end end - module:log("warn", "Slow event '%s' took %0.2f: %s", event_name, duration, next(data) and table.concat(data, ", ") or "no recognised data"); + module:log("warn", "Slow event '%s' took %0.2fs: %s", event_name, duration, next(data) and table.concat(data, ", ") or "no recognised data"); end return ret; end);