Skip to content

Add --no-container-partial-message option#583

Merged
jnovy merged 1 commit intocontainers:mainfrom
jnovy:335
Sep 2, 2025
Merged

Add --no-container-partial-message option#583
jnovy merged 1 commit intocontainers:mainfrom
jnovy:335

Conversation

@jnovy
Copy link
Collaborator

@jnovy jnovy commented Sep 2, 2025

  • Add --no-container-partial-message CLI option to disable CONTAINER_PARTIAL_MESSAGE=true in journald logs - This prevents splitting of long log lines into multiple journal entries
  • Particularly useful for systems parsing structured logs like JSON
  • Option only affects journald log driver, warns if used without journald

Fixes: #335

Fixes: containers#335

Signed-off-by: Jindrich Novy <jnovy@redhat.com>
@jnovy jnovy requested a review from giuseppe September 2, 2025 12:29
Copy link
Member

@giuseppe giuseppe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jnovy jnovy merged commit 3107c35 into containers:main Sep 2, 2025
31 of 33 checks passed
@jnovy jnovy deleted the 335 branch September 2, 2025 13:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Long lines will be splitted when journald logs

2 participants