Skip to content

Setup and configure logs #123

@dpordomingo

Description

@dpordomingo

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
  • 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

Metadata

Metadata

Labels

enhancementImprovements are needed over an existent feature

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions