The GitHub Actions job "Tests" on airflow.git/backport-586fe93-v3-1-test has 
succeeded.
Run started by GitHub user ashb (triggered by ashb).

Head commit for run:
15d223c7f2fe3de6a76359bef169b6443adf4438 / Ash Berlin-Taylor <[email protected]>
[v3-1-test] Fix exception when logging stdout with a custom %-fmt string. 
(#58959)

For instance, if you set this config

```ini
[logging]
log_format={%%(filename)s:%%(lineno)d} --- %%(message)s
```

this would blow up with an error like this on printing anything from a
trigger, killing the triggerer process:

```
2025-11-03 14:13:27   File 
"/usr/local/lib/python3.12/site-packages/airflow/_shared/logging/percent_formatter.py",
 line 149, in __call__
2025-11-03 14:13:27     sio.write(self._fmt % params)
2025-11-03 14:13:27               ~~~~~~~~~~^~~~~~~~
2025-11-03 14:13:27 TypeError: %d format: a real number is required, not 
NoneType
```
(cherry picked from commit 586fe930791fd4980fc36433e95965d1e10d4306)

Co-authored-by: Ash Berlin-Taylor <[email protected]>

Report URL: https://github.com/apache/airflow/actions/runs/19868366978

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to