Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use fmt writer for systemd #773

Merged
merged 1 commit into from
Oct 4, 2022

Conversation

saschagrunert
Copy link
Member

What type of PR is this?

/kind feature

What this PR does / why we need it:

This uses a custom fmt writer for systemd output to preserve all information within the message field.

Which issue(s) this PR fixes:

Fixes #740

Special notes for your reviewer:

Alternative to #770 and #772

Does this PR introduce a user-facing change?

Preserve original message in systemd journald output.

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Oct 4, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: saschagrunert

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

The pull request process is described here

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

@openshift-ci openshift-ci bot added the approved label Oct 4, 2022
@saschagrunert saschagrunert force-pushed the systemd-write branch 3 times, most recently from a3ba8aa to fbcb625 Compare October 4, 2022 15:09
@codecov-commenter
Copy link

Codecov Report

Merging #773 (a3ba8aa) into main (5787e79) will decrease coverage by 0.08%.
The diff coverage is n/a.

❗ Current head a3ba8aa differs from pull request most recent head fbcb625. Consider uploading reports for the commit fbcb625 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #773      +/-   ##
==========================================
- Coverage   31.44%   31.35%   -0.09%     
==========================================
  Files          13       13              
  Lines        1129     1129              
  Branches      429      429              
==========================================
- Hits          355      354       -1     
+ Misses        493      492       -1     
- Partials      281      283       +2     

@saschagrunert saschagrunert force-pushed the systemd-write branch 4 times, most recently from f82ce4d to ecdd517 Compare October 4, 2022 15:22
@saschagrunert
Copy link
Member Author

@haircommander PTAL

This uses a custom fmt writer for systemd output to preserve all
information within the message field.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
@haircommander
Copy link
Collaborator

/lgtm

thanks!

@openshift-ci openshift-ci bot added the lgtm label Oct 4, 2022
@openshift-merge-robot openshift-merge-robot merged commit 901b794 into containers:main Oct 4, 2022
@saschagrunert saschagrunert deleted the systemd-write branch October 4, 2022 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow CRI-O logging to stdout
4 participants