Skip to content

Log peripheral output to stderr instead of stdout? #160

@lmmarsano

Description

@lmmarsano

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions