From 615e224162ecfc916bd4cb4ffaf74489679fa42c Mon Sep 17 00:00:00 2001 From: Alan Hamlett Date: Wed, 8 Apr 2015 13:14:51 -0700 Subject: [PATCH] format py.warnings log messages same as other log messages --- wakatime/logger.py | 1 + 1 file changed, 1 insertion(+) diff --git a/wakatime/logger.py b/wakatime/logger.py index 2eb2e81..62ed9ad 100644 --- a/wakatime/logger.py +++ b/wakatime/logger.py @@ -101,4 +101,5 @@ def setup_logging(args, version): ) handler.setFormatter(formatter) logger.addHandler(handler) + logging.getLogger('py.warnings').addHandler(handler) return logger