diff options
author | Matthew Wild <mwild1@gmail.com> | 2008-11-14 02:41:37 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2008-11-14 02:41:37 +0000 |
commit | 428fc65bbc595d80cb678dadcc9ea7cae055d5b9 (patch) | |
tree | 5ab99b9b588fba94f6cdd797ac7a6311162ca8aa /util/logger.lua | |
parent | 6d9485225a4c8c9b339ca9cea137ba3f2de6fd64 (diff) | |
download | prosody-428fc65bbc595d80cb678dadcc9ea7cae055d5b9.tar.gz prosody-428fc65bbc595d80cb678dadcc9ea7cae055d5b9.zip |
Some more logging fixes
Diffstat (limited to 'util/logger.lua')
-rw-r--r-- | util/logger.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/logger.lua b/util/logger.lua index 8d983605..fd5d3d80 100644 --- a/util/logger.lua +++ b/util/logger.lua @@ -13,9 +13,9 @@ function init(name) level = level .. ","..tostring(inf.short_src):match("[^/]*$")..":"..inf.currentline; end if ... then - print(level, format(message, ...)); + print(name, level, format(message, ...)); else - print(level, message); + print(name, level, message); end end end |