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
commit23b199bd3a4a4f735ef5f046d23372cd3d2aed7f (patch)
tree0a5d39b299704409487b4b2fd6628c58ece6898b
parent89b96a2c5f175dc72b3954ce74bbf69f93cf607c (diff)
downloadprosody-23b199bd3a4a4f735ef5f046d23372cd3d2aed7f.tar.gz
prosody-23b199bd3a4a4f735ef5f046d23372cd3d2aed7f.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, ...);