aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2012-06-25 00:16:08 +0100
committerMatthew Wild <mwild1@gmail.com>2012-06-25 00:16:08 +0100
commit538620add408ab838ecd6271ea18f5dafab199a0 (patch)
tree0a5d39b299704409487b4b2fd6628c58ece6898b
parentae0fdd43a4248bda8d1f3d01ab592dff0412b574 (diff)
downloadprosody-538620add408ab838ecd6271ea18f5dafab199a0.tar.gz
prosody-538620add408ab838ecd6271ea18f5dafab199a0.zip
util.logger: Remove some redundant code
-rw-r--r--util/logger.lua2
1 files changed, 0 insertions, 2 deletions
diff --git a/util/logger.lua b/util/logger.lua
index 4fadb4b9..26206d4d 100644
--- a/util/logger.lua
+++ b/util/logger.lua
@@ -23,8 +23,6 @@ function init(name)
local log_warn = make_logger(name, "warn");
local log_error = make_logger(name, "error");
- --name = nil; -- While this line is not commented, will automatically fill in file/line number info
- local namelen = #name;
return function (level, message, ...)
if level == "debug" then
return log_debug(message, ...);