Browse Source

Adding filename to logging message format for troubleshooting purpose

This change is realted to Airflow

Change-Id: If8fd5983fd589ddf07b960d38e0081cfb0237003
changes/62/633062/4
pd2839 2 years ago
parent
commit
ce564e7eca
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      charts/shipyard/values.yaml

+ 1
- 1
charts/shipyard/values.yaml View File

@ -463,7 +463,7 @@ conf:
# NOTE: Updated from default to match Shipyard logging as much as
# possible without more aggressive techniques
#
log_format: "%%(asctime)s %%(levelname)-8s %%(module)s(%%(lineno)d) %%(funcName)s - %%(message)s"
log_format: "%%(asctime)s %%(levelname)-8s %%(filename)s:%%(lineno)3d:%%(funcName)s %%(module)s %%(message)s"
simple_log_format: "%%(asctime)s %%(levelname)s - %%(message)s"
log_filename_template: "{{ ti.dag_id }}/{{ ti.task_id }}/{{ execution_date.strftime('%%Y-%%m-%%dT%%H:%%M:%%S') }}/{{ try_number }}.log"
log_processor_filename_template: "{{ filename }}.log"


Loading…
Cancel
Save