changeset 1695:78b3b3add19c

mod_log_slow_events: Minor improvement to log message
author Matthew Wild <mwild1@gmail.com>
date Tue, 05 May 2015 14:20:53 +0100
parents 25412e94fb3e
children efc1d674eac0
files mod_log_slow_events/mod_log_slow_events.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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);