format py.warnings log messages same as other log messages
This commit is contained in:
parent
59ae20c99b
commit
615e224162
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue