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

OCI containers output in systemd journal #102768

Closed
r-vdp opened this issue Nov 4, 2020 · 1 comment · Fixed by #102769
Closed

OCI containers output in systemd journal #102768

r-vdp opened this issue Nov 4, 2020 · 1 comment · Fixed by #102769

Comments

@r-vdp
Copy link
Contributor

r-vdp commented Nov 4, 2020

Describe the bug
The log output for OCI containers is no longer linked to the systemd service in the systemd journal. So it is no longer possible to use journalctl -u <service_name> to filter out the log output of a specific container.

This change is due to the introduction of lines 233 and 234 here.

To Reproduce
Steps to reproduce the behavior:

  1. Define a container outputting logs to stdout and start it
  2. Run journalctl -u <service_name>
  3. The logs are not being shown as they were before

Expected behavior
In 20.03 the logs could easily be filtered by using the above-mentioned command.

Notify maintainers
@adisbladis

r-vdp added a commit to r-vdp/nixpkgs that referenced this issue Feb 18, 2021
…tput in the logs

Fixes NixOS#102768.
Allows the usage of `journalctl -u` to easily view the logs for a container managed by this module.
@r-vdp
Copy link
Contributor Author

r-vdp commented May 17, 2021

Issue is still present, #102769 is approved and ready to be merged.

zowoq pushed a commit that referenced this issue Jul 5, 2021
…tput in the logs

Fixes #102768.
Allows the usage of `journalctl -u` to easily view the logs for a container managed by this module.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants