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

Only log to stderr if --log is not provided #1547

Merged
merged 1 commit into from
Sep 4, 2024

Conversation

saschagrunert
Copy link
Member

In any other case we log to the dedicated log driver for consistency reason. This avoids having another option like --log-stderr.

Needs #1545

Alternative to #1542

@saschagrunert
Copy link
Member Author

@giuseppe let me know if you still prefer the --log-stderr as additional flag. I think this solution is also clean and we can avoid having that flag.

Copy link

Ephemeral COPR build failed. @containers/packit-build please check.

Copy link

podman system tests failed. @containers/packit-build please check.

Copy link

Ephemeral COPR build failed. @containers/packit-build please check.

Copy link

podman system tests failed. @containers/packit-build please check.

@saschagrunert saschagrunert changed the title Only log to stderr if --log is not provided WIP: Only log to stderr if --log is not provided Sep 4, 2024
In any other case we log to the dedicated log driver for consistency
reason. This avoids having another option like `--log-stderr`.

Signed-off-by: Sascha Grunert <[email protected]>
Copy link

Ephemeral COPR build failed. @containers/packit-build please check.

@saschagrunert saschagrunert changed the title WIP: Only log to stderr if --log is not provided Only log to stderr if --log is not provided Sep 4, 2024
@saschagrunert
Copy link
Member Author

saschagrunert commented Sep 4, 2024

@giuseppe PTAL, we still have to report errors to the CLI to make containerd integration tests happy.

Copy link

podman system tests failed. @containers/packit-build please check.

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

@giuseppe
Copy link
Member

giuseppe commented Sep 4, 2024

thanks for working on this alternative. I am fine with it (and containerd too 😄 )

@giuseppe giuseppe merged commit 3a400b1 into containers:main Sep 4, 2024
34 of 56 checks passed
@saschagrunert saschagrunert deleted the stderr branch September 4, 2024 09:16
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.

2 participants