NCIOCPL / bestbets-api

0 stars 4 forks source link

Log user errors as Debug level #51

Closed blairlearn closed 1 year ago

blairlearn commented 2 years ago

Issue description

The API currently logs everything, including user errors, with a severity of Error. Logging user errors may be appropriate in a debugging scenario, but in the course of normal operations a call which failed to find any documents is a normal occurrence and logging it only serves to fill the logs with noise messages.

ESTIMATE TBD

What's the expected change?

What's the current functionality?

What's the updated acceptance criteria?

Additional details / screenshot

Related Tickets

blairlearn commented 1 year ago

This will be handled in NCIOCPL/NCI.OCPL.Api.Shared#50