code-annotation icon indicating copy to clipboard operation
code-annotation copied to clipboard

Setup and configure logs

Open dpordomingo opened this issue 7 years ago • 4 comments

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 debug level

dpordomingo avatar Feb 15 '18 15:02 dpordomingo

(@bzz as you explained to me I moved this issue to backlog after adding to the project)

dpordomingo avatar Feb 15 '18 19:02 dpordomingo

Seems like all the issues linking to this one are merged or closed now

bzz avatar Mar 14 '18 09:03 bzz

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

dpordomingo avatar Mar 14 '18 14:03 dpordomingo

Moving out of TODO as it seems not to have any progress and is not a critical bug

bzz avatar Apr 10 '18 12:04 bzz