diff --git a/.github/workflows/devnet.yml b/.github/workflows/devnet.yml index 710e2d99f..9c11b816f 100644 --- a/.github/workflows/devnet.yml +++ b/.github/workflows/devnet.yml @@ -131,14 +131,6 @@ jobs: --decrypt=true \ --markers="$MARKERS" - - name: Add Line Numbers and Timestamps to debug.log - if: always() - run: | - cd E2E-tests - awk '{print strftime("[%Y-%m-%d %H:%M:%S]"), $0}' debug.log > debug_with_timestamps.log - nl -ba -s ' ' -w 8 debug_with_timestamps.log > debug_with_timestamps_and_line_numbers.log - mv debug_with_timestamps_and_line_numbers.log debug.log - - name: Archive Debug Log if: always() uses: actions/upload-artifact@v4 diff --git a/.github/workflows/staging.yml b/.github/workflows/staging.yml index 78d8fc261..e5c4273b8 100644 --- a/.github/workflows/staging.yml +++ b/.github/workflows/staging.yml @@ -132,14 +132,6 @@ jobs: --decrypt=true \ --markers="$MARKERS" - - name: Add Line Numbers and Timestamps to debug.log - if: always() - run: | - cd E2E-tests - awk '{print strftime("[%Y-%m-%d %H:%M:%S]"), $0}' debug.log > debug_with_timestamps.log - nl -ba -s ' ' -w 8 debug_with_timestamps.log > debug_with_timestamps_and_line_numbers.log - mv debug_with_timestamps_and_line_numbers.log debug.log - - name: Archive Debug Log if: always() uses: actions/upload-artifact@v4 diff --git a/E2E-tests/pytest.ini b/E2E-tests/pytest.ini index 30a94cb77..42a5137b5 100644 --- a/E2E-tests/pytest.ini +++ b/E2E-tests/pytest.ini @@ -25,6 +25,8 @@ log_cli = True log_cli_level = info log_file = debug.log log_file_level = debug +log_file_format = %(asctime)s %(levelname)-8s [logger=%(name)s, file=%(filename)s:%(lineno)d] %(message)s +log_file_date_format = %Y-%m-%d %H:%M:%S addopts = -ra --tb=short --show-capture=no