Browse Source

Merge "Adding filename to logging message format for troubleshooting purpose"

Zuul 2 months ago
parent
commit
377378febd
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      charts/shipyard/values.yaml

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

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

Loading…
Cancel
Save