Skip to content

Conversation

martyngigg
Copy link
Member

@martyngigg martyngigg commented Feb 6, 2020

Currently the loggers are only enabled for DEBUG so in production we miss all of the ERROR logs. This enables the console logger by default but switches the level between DEBUG/ERROR depending on the environment.

To Test

Check locally by introducing some raise ValueError("Bad value") into a code path and check it is visible in the docker-compose logs web

@cailafinn
Copy link

Is this and #50 still worth keeping around @martyngigg?

@martyngigg
Copy link
Member Author

Is this and #50 still worth keeping around @martyngigg?

Sorry I seemed to ignore this! I didn't get the notification for some reason. I think this change is worth making so that ERRORS show in the docker logs in production. I'll rebase and fix the conflicts.

In production onl ERROR level messages are shown
Copy link

👋 Hi, @martyngigg,

Conflicts have been detected against the base branch. Please rebase your branch against the base branch.

@github-actions github-actions bot added the Has Conflicts Used by the bot to label pull requests that have conflicts label Sep 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Has Conflicts Used by the bot to label pull requests that have conflicts

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

2 participants