aboutsummaryrefslogtreecommitdiffstats
path: root/server/user.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/user.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/user.py')
-rw-r--r--server/user.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/user.py b/server/user.py
index 0d01b1d..2491164 100644
--- a/server/user.py
+++ b/server/user.py
@@ -3,7 +3,7 @@ import os.path
import shutil
import hashlib
import logging
-logger = logging.getLogger("alias")
+logger = logging.getLogger(__name__)
from object import ObjectWriter
class UserHandler: