mod_log_slow_events: Minor improvement to log message
authorMatthew Wild <mwild1@gmail.com>
Tue, 05 May 2015 14:20:53 +0100
changeset 1699 78b3b3add19c
parent 1698 25412e94fb3e
child 1700 efc1d674eac0
mod_log_slow_events: Minor improvement to log message
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);