From a6aca7c610ad5eba22b1e70dcc00ffb27ba53c38 Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Mon, 5 Sep 2016 14:09:06 -0400 Subject: [PATCH] Make the logging format a bit more verbose --- rtmbot/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtmbot/core.py b/rtmbot/core.py index 9cc507d..c6c7648 100755 --- a/rtmbot/core.py +++ b/rtmbot/core.py @@ -40,7 +40,7 @@ class RtmBot(object): log_file = config.get('LOGFILE', 'rtmbot.log') logging.basicConfig(filename=log_file, level=logging.INFO, - format='%(asctime)s %(message)s') + format='%(asctime)s %(module)s %(levelname)s: %(message)s') logging.info('Initialized in: {}'.format(self.directory)) self.debug = self.config.get('DEBUG', False)