Skip to content

Ensure Docker logging facilities can see gunicorn errors#3389

Merged
sgoggins merged 1 commit intomainfrom
gunicorn-errors
Nov 14, 2025
Merged

Ensure Docker logging facilities can see gunicorn errors#3389
sgoggins merged 1 commit intomainfrom
gunicorn-errors

Conversation

@MoralCode
Copy link
Copy Markdown
Collaborator

Description
Currently, if gunicorn crashes due to an error, the docker logs will only show the attempt to start the gunicorn (frontend) web server processes followed by their immediate shutdown. The cause is only findable by looking in the configured log directory and reading the log files.

This PR uses the environment variable for docker deployments to change the gunicorn config to redirect errors to stdout so they get picked up by docker

Notes for Reviewers
So uuh, I fixed the issue that was causing gunicorn to crash before realizing i should use it to test this, so while im not certain it works, it should be a pretty basic change and lines up with the gunicorn docs for this errorlog setting

Signed commits

  • Yes, I signed my commits.

@MoralCode MoralCode added this to the v0.92.0 Release milestone Nov 10, 2025
@MoralCode MoralCode added the containers Related to augur in containers, container images, or the compose file, either in podman or in docker label Nov 10, 2025
Copy link
Copy Markdown
Collaborator

@sgoggins sgoggins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@MoralCode MoralCode added the ready Items tested and seeking additional approvals or a merge. Usually for items under active development label Nov 12, 2025
…ockers log stream

Signed-off-by: Adrian Edwards <adredwar@redhat.com>
Copy link
Copy Markdown
Collaborator

@sgoggins sgoggins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sgoggins sgoggins merged commit 6475b63 into main Nov 14, 2025
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

containers Related to augur in containers, container images, or the compose file, either in podman or in docker ready Items tested and seeking additional approvals or a merge. Usually for items under active development

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants