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/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/plugin.py') diff --git a/server/plugin.py b/server/plugin.py index 0af0a73..2001b1b 100644 --- a/server/plugin.py +++ b/server/plugin.py @@ -1,5 +1,5 @@ import logging -logger = logging.getLogger("alias") +logger = logging.getLogger(__name__) import base64 import hashlib from xml.etree import cElementTree as ET -- cgit v1.2.3-70-g09d2