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