format py.warnings log messages same as other log messages

This commit is contained in:
Alan Hamlett 2015-04-08 13:14:51 -07:00
parent 59ae20c99b
commit 615e224162

View file

@ -101,4 +101,5 @@ def setup_logging(args, version):
) )
handler.setFormatter(formatter) handler.setFormatter(formatter)
logger.addHandler(handler) logger.addHandler(handler)
logging.getLogger('py.warnings').addHandler(handler)
return logger return logger