X-Git-Url: https://git.enpas.org/?a=blobdiff_plain;f=util%2Flogger.lua;h=26206d4d83379ff49b255372197c1fb891337f50;hb=ba0b5b929007fb47a7948cbd415aee5f6d4968a9;hp=4fadb4b9beaec0175d3189086242a8faac74e2fd;hpb=423c5189d11247036e53cd67b65f0179f8e81c41;p=prosody.git 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, ...);