diff --git a/Module.py b/Module.py index e7a4fda..df575cb 100644 --- a/Module.py +++ b/Module.py @@ -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 diff --git a/dr.botzo.py b/dr.botzo.py index 1a9e059..fadf319 100644 --- a/dr.botzo.py +++ b/dr.botzo.py @@ -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 diff --git a/logging.cfg b/logging.cfg index 185cdc1..0f7b3db 100644 --- a/logging.cfg +++ b/logging.cfg @@ -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