Closed
Description
Description
Now that we have the right logging dependencies in place, we should review when, what and at which level logging occurs within JADNC.
Official guidance on logging levels: https://docs.microsoft.com/en-us/aspnet/core/fundamentals/logging/?view=aspnetcore-2.2#log-level
I'm thinking of:
- Do not log events at error level which cannot be solved by us, but are functional errors that do not require investigation. Like resource-not-found, invalid-attribute-name, resource-already-exists, input validation errors etc.
- Basic trace/debug logging of JSON request/response, along with qualified URL
- Log query string parsing results, maybe
Additions are welcome!
Metadata
Metadata
Assignees
Labels
No labels