aboutsummaryrefslogtreecommitdiffstats
path: root/server/object.py
diff options
context:
space:
mode:
authorGuillaume Horel <guillaume.horel@gmail.com>2011-04-25 22:39:39 -0400
committerGuillaume Horel <guillaume.horel@gmail.com>2011-04-25 22:39:39 -0400
commite86e2048a124a1c4abf16712b548d7e7d7815ca3 (patch)
tree6be670f5fea86aabef2b6b172d22a53383a4d754 /server/object.py
parent5f2d5dbc45f1bb84c3f58078cb132e0992ec0994 (diff)
downloadalias-e86e2048a124a1c4abf16712b548d7e7d7815ca3.tar.gz
Final cleanup of the logging system
- set up a root logger, which is going to catch all the other logger instances set up by other modules (sleekxmpp for instance) - by default, if not in background mode, everything gets logged to the console.
Diffstat (limited to 'server/object.py')
-rw-r--r--server/object.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/object.py b/server/object.py
index 6ff04d3..6a5e45c 100644
--- a/server/object.py
+++ b/server/object.py
@@ -8,7 +8,7 @@ import zlib
import datetime
import fileinput
import logging
-logger = logging.getLogger("alias")
+logger = logging.getLogger(__name__)
from permission import *
from config import config