Module: log as 'drbotzo.classname' rather than 'drbotzo'

This commit is contained in:
Brian S. Stephan 2012-07-26 20:28:17 -05:00
parent d14ed69916
commit cac3c0216a
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ class Module(object):
self.irc = irc
self.config = config
self.server = server
self.log = logging.getLogger('drbotzo')
self.log = logging.getLogger('drbotzo.'+self.__class__.__name__.lower())
self.is_shutdown = False