From e86e2048a124a1c4abf16712b548d7e7d7815ca3 Mon Sep 17 00:00:00 2001 From: Guillaume Horel Date: Mon, 25 Apr 2011 22:39:39 -0400 Subject: 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. --- server/user.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/user.py') 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: -- cgit v1.2.3-70-g09d2