Make the logging format a bit more verbose
This commit is contained in:
parent
08b01c00f3
commit
a6aca7c610
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ class RtmBot(object):
|
||||||
log_file = config.get('LOGFILE', 'rtmbot.log')
|
log_file = config.get('LOGFILE', 'rtmbot.log')
|
||||||
logging.basicConfig(filename=log_file,
|
logging.basicConfig(filename=log_file,
|
||||||
level=logging.INFO,
|
level=logging.INFO,
|
||||||
format='%(asctime)s %(message)s')
|
format='%(asctime)s %(module)s %(levelname)s: %(message)s')
|
||||||
logging.info('Initialized in: {}'.format(self.directory))
|
logging.info('Initialized in: {}'.format(self.directory))
|
||||||
self.debug = self.config.get('DEBUG', False)
|
self.debug = self.config.get('DEBUG', False)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue