mod_log_slow_events: Minor improvement to log message

Tue, 05 May 2015 14:20:53 +0100

author
Matthew Wild <mwild1@gmail.com>
date
Tue, 05 May 2015 14:20:53 +0100
changeset 1695
78b3b3add19c
parent 1694
25412e94fb3e
child 1696
efc1d674eac0

mod_log_slow_events: Minor improvement to log message

mod_log_slow_events/mod_log_slow_events.lua file | annotate | diff | comparison | revisions
--- 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);

mercurial