Skip to content

Make the logger more production friendly #15

@Tri125

Description

@Tri125

Everytime something isn't found in the dB, it crested an info level entry with the logger. This is an information that warrant the debug level. We don't care about a 404, app is fine and we certainly don't need to log all of that. I'm also in favor of only loading the request tracing middleware if the debug flag has been set. I don't remember if it was required for something else or if it was just to log every requests to the router. If it was just to log everything, this should be off for prod.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions