aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2008-11-14 17:37:45 +0000
committerMatthew Wild <mwild1@gmail.com>2008-11-14 17:37:45 +0000
commit44701835b153e9497a8a5f634ece17ffda41c5ca (patch)
treef983dd377dadcccafff9a7232c4a417f2852fcac
parentd67940a1d7700c0389341c42f845b91e8b32eea6 (diff)
downloadprosody-44701835b153e9497a8a5f634ece17ffda41c5ca.tar.gz
prosody-44701835b153e9497a8a5f634ece17ffda41c5ca.zip
Update rostermanager to use new logger
-rw-r--r--core/rostermanager.lua6
1 files changed, 2 insertions, 4 deletions
diff --git a/core/rostermanager.lua b/core/rostermanager.lua
index 9a203337..235f2aee 100644
--- a/core/rostermanager.lua
+++ b/core/rostermanager.lua
@@ -1,8 +1,6 @@
-local mainlog = log;
-local function log(type, message)
- mainlog(type, "rostermanager", message);
-end
+
+local log = require "util.logger".init("rostermanager");
local setmetatable = setmetatable;
local format = string.format;