Skip to content

textlogger: optionally turn off header#430

Open
pohly wants to merge 1 commit intokubernetes:mainfrom
pohly:textlogger-optional-header
Open

textlogger: optionally turn off header#430
pohly wants to merge 1 commit intokubernetes:mainfrom
pohly:textlogger-optional-header

Conversation

@pohly
Copy link

@pohly pohly commented Dec 1, 2025

What this PR does / why we need it:

Turning off the header is useful for converting structured log parameters (e.g. error + message + key/value pairs from the Kubernetes ErrorHandler API) into a single string.

See

Which issue(s) this PR fixes:
Fixes #429

Special notes for your reviewer:

Needed for https://github.com/kubernetes/kubernetes/pull/135419/files#r2576981852

Release note:

textlogger: WithHeader option enables suppression of the header.

This is useful for converting structured log parameters (e.g. error + message +
key/value pairs from the Kubernetes ErrorHandler API) into a single string.
@k8s-ci-robot k8s-ci-robot added needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Dec 1, 2025
@k8s-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: pohly

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Dec 1, 2025
@pohly
Copy link
Author

pohly commented Dec 1, 2025

/assign @harshanarayana

@dgrisonnet
Copy link
Member

/triage accepted

@k8s-ci-robot k8s-ci-robot added triage/accepted Indicates an issue or PR is ready to be actively worked on. and removed needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Dec 12, 2025
@tallclair
Copy link
Member

/assign

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

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. triage/accepted Indicates an issue or PR is ready to be actively worked on.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

textlogger: optional header

5 participants