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