diff jabberbot/i18n.py @ 3612:6f06c7d051a4

Setting a more meaningful logger name.
author Karol 'grzywacz' Nowak <grywacz@gmail.com>
date Sat, 17 May 2008 22:29:44 +0200
parents af857f8c2e44
children b397401dda7f
line wrap: on
line diff
--- a/jabberbot/i18n.py	Sat May 17 22:11:05 2008 +0200
+++ b/jabberbot/i18n.py	Sat May 17 22:29:44 2008 +0200
@@ -47,7 +47,7 @@
     """
 
     wiki = xmlrpclib.Server(config.wiki_url + "?action=xmlrpc2")
-    log = logging.getLogger("log")
+    log = logging.getLogger(__name__)
     log.debug("Initialising i18n...")
 
     try: