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

Bug: Logs are all sent to stderr and logfile #5246

Open
MichaelAkvo opened this issue Mar 13, 2023 · 0 comments
Open

Bug: Logs are all sent to stderr and logfile #5246

MichaelAkvo opened this issue Mar 13, 2023 · 0 comments
Assignees
Labels

Comments

@MichaelAkvo
Copy link
Contributor

What were you doing?

When looking at logs on Google Cloud Logging, the logs are all marked as "errors". Additionally, logs are written to /var/akvo/rsr/logs, which is non-standard and unnecessary when running in docker.

What should've happened?

Logs until INFO should be on stdout and ERROR and above should be on stderr.

My environment

No response

Additional context

I can't find explicit documentation, but it seems like anything logged to stderr is recognized as an error according to this stackoverflow answer.

By default, StreamHandler logs to stderr when not instructed otherwise.

@MichaelAkvo MichaelAkvo self-assigned this Mar 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Todo
Development

No branches or pull requests

1 participant