mirror of
https://github.com/archlinux-jerry/buildbot
synced 2024-11-22 13:00:40 +08:00
allow debug messages
This commit is contained in:
parent
d0427b3941
commit
b1b6c3f0b0
1 changed files with 1 additions and 1 deletions
2
utils.py
2
utils.py
|
@ -267,7 +267,7 @@ def configure_logger(logger, format='%(asctime)s - %(name)-18s - %(levelname)s -
|
||||||
record.msg = 'Exception caught.\nPrinting stack traceback\n' + record.msg
|
record.msg = 'Exception caught.\nPrinting stack traceback\n' + record.msg
|
||||||
return super().format(record)
|
return super().format(record)
|
||||||
|
|
||||||
logger.setLevel(level)
|
logger.setLevel(logging.DEBUG)
|
||||||
formatter = ExceptionFormatter(fmt=format)
|
formatter = ExceptionFormatter(fmt=format)
|
||||||
logging.addLevelName(49, 'Exception')
|
logging.addLevelName(49, 'Exception')
|
||||||
# create file handler
|
# create file handler
|
||||||
|
|
Loading…
Reference in a new issue