DrBotIRC: rename logger to drbotzo for clarity's sake

This commit is contained in:
Brian S. Stephan 2012-07-26 20:13:05 -05:00
parent ad80d86a73
commit 2a0cd05cbc
1 changed files with 3 additions and 3 deletions

View File

@ -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)