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

Support translating from stdout to native journal messages #32716

Open
DaanDeMeyer opened this issue May 8, 2024 · 0 comments
Open

Support translating from stdout to native journal messages #32716

DaanDeMeyer opened this issue May 8, 2024 · 0 comments
Labels
RFE 🎁 Request for Enhancement, i.e. a feature request

Comments

@DaanDeMeyer
Copy link
Contributor

Component

No response

Is your feature request related to a problem? Please describe

When running the unit tests and inspecting the journals, the order of log messages between system daemons and systemd tools invoked by the test and the testsuite script itself is completely messed up because the daemons and systemd tools log native journal messages to the journal socket while the testsuite script logs to stdout. Because these are two separate file descriptors read by journald and it reads from them in undefined order, the order of the messages in the logs is completely wrong.

Describe the solution you'd like

A way to translate logs read from stdout to native journal messages that are sent to the native journal socket. By doing this, the correct order of events would be maintained as messages read from the same fd will have a defined order in the journal.

Describe alternatives you've considered

No response

The systemd version you checked that didn't have the feature you are asking for

main

@DaanDeMeyer DaanDeMeyer added the RFE 🎁 Request for Enhancement, i.e. a feature request label May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RFE 🎁 Request for Enhancement, i.e. a feature request
Development

No branches or pull requests

1 participant