Module: log as 'drbotzo.classname' rather than 'drbotzo'
This commit is contained in:
parent
d14ed69916
commit
cac3c0216a
@ -40,7 +40,7 @@ class Module(object):
|
|||||||
self.irc = irc
|
self.irc = irc
|
||||||
self.config = config
|
self.config = config
|
||||||
self.server = server
|
self.server = server
|
||||||
self.log = logging.getLogger('drbotzo')
|
self.log = logging.getLogger('drbotzo.'+self.__class__.__name__.lower())
|
||||||
|
|
||||||
self.is_shutdown = False
|
self.is_shutdown = False
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user