Changeset

25:ea59a8d98b03

mod_pastebin: Comment some debug logging on every message
author Matthew Wild <mwild1@gmail.com>
date Fri, 02 Oct 2009 22:16:19 +0100
parents 24:72bcc0475e2f
children 26:1fb5b8c20004
files mod_pastebin/mod_pastebin.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mod_pastebin/mod_pastebin.lua	Fri Oct 02 22:15:14 2009 +0100
+++ b/mod_pastebin/mod_pastebin.lua	Fri Oct 02 22:16:19 2009 +0100
@@ -54,7 +54,7 @@
 	if not body then return; end
 	body = body:get_text();
 	
-	module:log("debug", "Body(%s) length: %d", type(body), #(body or ""));
+	--module:log("debug", "Body(%s) length: %d", type(body), #(body or ""));
 	
 	if body and #body > length_threshold then
 		local url = pastebin_message(body);