From 2a0cd05cbc57f769ab230e9e2d89699ac774e9e6 Mon Sep 17 00:00:00 2001 From: "Brian S. Stephan" Date: Thu, 26 Jul 2012 20:13:05 -0500 Subject: [PATCH] DrBotIRC: rename logger to drbotzo for clarity's sake --- DrBotIRC.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/DrBotIRC.py b/DrBotIRC.py index b533860..292a6e1 100644 --- a/DrBotIRC.py +++ b/DrBotIRC.py @@ -38,7 +38,7 @@ class DrBotzoMethods: """Store the same stuff the core module would, since we'll probably need it.""" self.irc = irc - self.log = logging.getLogger('dr.botzo') + self.log = logging.getLogger('drbotzo') def echo(self, message): """ @@ -97,7 +97,7 @@ class DrBotServerConnection(irclib.ServerConnection): # temporary. hopefully on_welcome() will set this self.nickmask = socket.getfqdn() - self.log = logging.getLogger('dr.botzo') + self.log = logging.getLogger('drbotzo') self.add_global_handler('welcome', self.on_welcome, 1) @@ -152,7 +152,7 @@ class DrBotIRC(irclib.IRC): self.config = config self.xmlrpc = None - self.log = logging.getLogger('dr.botzo') + self.log = logging.getLogger('drbotzo') # handle SIGINT signal.signal(signal.SIGINT, self.sigint_handler)