Skip to content

custom activity logger_setup not used #31

@gusmith

Description

@gusmith

As we are not setting up the logger, we are not filtering the endpoints

"GET / ",
"GET /docs/openapi.json ",
"GET /health ",
"GET /status ",
"GET /versions ", 

knowing that we are using GET /versions usually as our health endpoint. It creates a large number of logs lines in our prod envs.
E.g total loss custom activity v0.10.1 which is using the sdk v2.0.0 creates such logs line in prod:

INFO:     10.11.0.19:33444 - "GET /versions HTTP/1.1" 200 OK
INFO:     10.11.0.19:33544 - "GET /versions HTTP/1.1" 200 OK
INFO:     10.11.0.19:33698 - "GET /versions HTTP/1.1" 200 OK
INFO:     10.11.0.19:33932 - "GET /versions HTTP/1.1" 200 OK
INFO:     10.11.0.19:34042 - "GET /versions HTTP/1.1" 200 OK
INFO:     10.11.0.19:34194 - "GET /versions HTTP/1.1" 200 OK
INFO:     10.11.0.19:34418 - "GET /versions HTTP/1.1" 200 OK
INFO:     10.11.0.19:34540 - "GET /versions HTTP/1.1" 200 OK
INFO:     10.11.0.19:34694 - "GET /versions HTTP/1.1" 200 OK
INFO:     10.11.0.19:34956 - "GET /versions HTTP/1.1" 200 OK
[...]

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions