code-annotation
code-annotation copied to clipboard
Setup and configure logs
As discussed we need to:
- [ ] Make sure, right log-level is used through the app.
-
Critical, when service went down, -
Error, when the request could not be processed, -
Warning, when the expected/normal behavior could not be followed but it was found an alternative, -
Info, info useful when analyzing the trace of the process -
Debugging, only for dev purposes
-
- [ ] Make sure the levels above are compliant with GCP https://console.cloud.google.com/logs/viewer
- [x] Make sure we can configure per deployment (environment) the log level
- [ ] Configure staging env to log >=
Info - [ ] Make sure there are no access logs (GET/PUT, etc) in the app logs on staging/prod envs
- [ ] to do so, access logs should be logged with
debuglevel
- [ ] to do so, access logs should be logged with
(@bzz as you explained to me I moved this issue to backlog after adding to the project)
Seems like all the issues linking to this one are merged or closed now
I saw many logs not following this issue desc. I have a local branch solving them. If you agree, I'll take care of this issue as soon as we have some time :D
Moving out of TODO as it seems not to have any progress and is not a critical bug