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

Log peripheral output to stderr instead of stdout? #160

Open
lmmarsano opened this issue Feb 23, 2021 · 0 comments
Open

Log peripheral output to stderr instead of stdout? #160

lmmarsano opened this issue Feb 23, 2021 · 0 comments

Comments

@lmmarsano
Copy link

Emitting dockerize's logs to stdout isn't particularly helpful when we want to pipe stdout from the main application.

$ docker-compose run --rm curl http://launchdarkly/system/status 2>/dev/null
2021/02/23 19:53:30 Waiting for: http://launchdarkly/system/status
2021/02/23 19:53:30 Received 200 from http://launchdarkly/system/status
{
  "status":"ok"
  "version":"1.2.0"
}2021/02/23 19:53:30 Command finished successfully.

Could dockerize direct its logs to stderr or offer an option to redirect it?

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

1 participant