diff --git a/configs/resident/logging.yaml b/configs/resident/logging.yaml index b422d52..0a7df5d 100644 --- a/configs/resident/logging.yaml +++ b/configs/resident/logging.yaml @@ -37,7 +37,7 @@ logging: console: class: logging.StreamHandler stream: ext://sys.stdout - formatter: simpleFormatter + formatter: elapsedFormatter level: INFO formatters: @@ -53,3 +53,7 @@ logging: format: '%(asctime)s - %(levelname)s - %(name)s - %(message)s' datefmt: '%d/%m/%Y %H:%M:%S' + elapsedFormatter: + (): activitysim.core.tracing.ElapsedTimeFormatter + format: '[{elapsedTime}] {levelname:s}: {message:s}' + style: '{'