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 5 months 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:
463 463
       # NOTE: Updated from default to match Shipyard logging as much as
464 464
       #     possible without more aggressive techniques
465 465
       #
466
-      log_format: "%%(asctime)s %%(levelname)-8s %%(module)s(%%(lineno)d) %%(funcName)s - %%(message)s"
466
+      log_format: "%%(asctime)s %%(levelname)-8s %%(filename)s:%%(lineno)3d:%%(funcName)s %%(module)s %%(message)s"
467 467
       simple_log_format: "%%(asctime)s %%(levelname)s - %%(message)s"
468 468
       log_filename_template: "{{ ti.dag_id }}/{{ ti.task_id }}/{{ execution_date.strftime('%%Y-%%m-%%dT%%H:%%M:%%S') }}/{{ try_number }}.log"
469 469
       log_processor_filename_template: "{{ filename }}.log"

Loading…
Cancel
Save