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

Standardised approach to logging #81

Open
smebberson opened this issue Mar 29, 2017 · 2 comments
Open

Standardised approach to logging #81

smebberson opened this issue Mar 29, 2017 · 2 comments

Comments

@smebberson
Copy link
Owner

We need to move toward a standardised approach to logging. Some of the images do it differently at the moment.

The main factor is, should everything be splurted to stdout and stderr? We need to have a way to turn it off however.

I think in all instances, they should also go to file, so that any file based aggregation can take place.

Any other thoughts?

@rbellamy
Copy link
Contributor

rbellamy commented Apr 4, 2017

The default guidance is to splurt everything to stdout and stderr which is consistent with the mandate of the 12 Factor app on logging.

@rbellamy
Copy link
Contributor

rbellamy commented Apr 4, 2017

About "going to a file" I think that places an undue burden on the user of the image, as not every container will have storage that can support the persisted storage of log files...

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

No branches or pull requests

2 participants