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

stdout/stderr logging option #159

Merged
merged 5 commits into from Nov 11, 2021
Merged

stdout/stderr logging option #159

merged 5 commits into from Nov 11, 2021

Conversation

mamico
Copy link
Member

@mamico mamico commented Apr 30, 2021

Using kubernetes we found sometimes useful to collect logging from pod using stdout/stderr instead of local files.
This is a try to address this requirement.
If you think that could be useful and properly implemented I could spread changes to the other docker images.

@jensens
Copy link
Sponsor Member

jensens commented May 2, 2021

If this is a draft, you can open/convert the PR in/to draft mode, if this is ready for merge please remove draft statement from title. Anyway, a non-draft PR with uppercase draft in title is confusing.

@mamico mamico marked this pull request as draft May 3, 2021 02:06
@mamico mamico changed the title stdout/stderr logging option (DRAFT) stdout/stderr logging option May 3, 2021
@avoinea
Copy link
Sponsor Member

avoinea commented May 5, 2021

@mamico Niice! I think this should be the default behavior.

Logging into files is not in accordance with Best practices for writing Dockerfiles

But we didn't have this option when we first created this image: docker-library/official-images#1434 (comment)

5.2/5.2.4/debian/docker-initialize.py Outdated Show resolved Hide resolved
@mamico mamico requested a review from avoinea October 8, 2021 01:10
@mamico mamico marked this pull request as ready for review October 8, 2021 01:11
@avoinea avoinea merged commit fde974d into master Nov 11, 2021
@avoinea avoinea deleted the stdlogging branch November 11, 2021 16:00
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.

None yet

3 participants