rename logger to drbotzo for clarity's sake
This commit is contained in:
parent
bd3fc16a1d
commit
e6be873f3d
|
@ -40,7 +40,7 @@ class Module(object):
|
|||
self.irc = irc
|
||||
self.config = config
|
||||
self.server = server
|
||||
self.log = logging.getLogger('dr.botzo')
|
||||
self.log = logging.getLogger('drbotzo')
|
||||
|
||||
self.is_shutdown = False
|
||||
|
||||
|
|
|
@ -53,7 +53,7 @@ except NoOptionError as e:
|
|||
irclib.DEBUG = config.getboolean('dr.botzo', 'debug')
|
||||
|
||||
logging.config.fileConfig('logging.cfg')
|
||||
log = logging.getLogger('dr.botzo')
|
||||
log = logging.getLogger('drbotzo')
|
||||
|
||||
try:
|
||||
# make sure we can initialize the database, if such a thing is
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[loggers]
|
||||
keys = root,dr.botzo
|
||||
keys = root,drbotzo
|
||||
|
||||
[handlers]
|
||||
keys = stdout,logfile
|
||||
|
@ -11,7 +11,7 @@ keys = verbose
|
|||
level = INFO
|
||||
handlers = stdout,logfile
|
||||
|
||||
[logger_dr.botzo]
|
||||
[logger_drbotzo]
|
||||
level = DEBUG
|
||||
handlers = stdout,logfile
|
||||
propagate = 0
|
||||
|
|
Loading…
Reference in New Issue