Skip to content

Compare logs instead of truncating, allow changing object write mode#68304

Open
jvstein wants to merge 1 commit into
apache:mainfrom
jvstein:avoid_truncating_local_logs
Open

Compare logs instead of truncating, allow changing object write mode#68304
jvstein wants to merge 1 commit into
apache:mainfrom
jvstein:avoid_truncating_local_logs

Conversation

@jvstein

@jvstein jvstein commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

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?
  • Yes (please specify the tool below)

Generated-by: Claude Code following the guidelines

@zachliu

zachliu commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

I solemnly approve this PR 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants