jvstein opened a new pull request, #68304:
URL: https://github.com/apache/airflow/pull/68304
<!-- SPDX-License-Identifier: Apache-2.0
https://www.apache.org/licenses/LICENSE-2.0 -->
This is a follow-up to #67144 to avoid truncating logs for deployments that
rely on both local logs (e.g. in a shared volume mount) and the S3 remote
logging support.
Instead of truncating the local file, it compares the logs in memory using
`startswith`.
This also introduces a configuration value for modifying the default write
mode for object stores. Notably, I believe the Google and Azure object store
logging may have a similar memory bug due to a download, append, upload process.
##### Was generative AI tooling used to co-author this PR?
<!--
If generative AI tooling has been used in the process of authoring this PR,
please
change below checkbox to `[X]` followed by the name of the tool, uncomment
the "Generated-by".
-->
- [x] Yes (please specify the tool below)
Generated-by: Claude Code following [the
guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]