You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I commonly use ReadItemStreamAsync to try to get a value which might or might not exist. Although this method doesn't throw an exception if the item doesn't exist, it still logs an error via the trace listener, which fills up my logs and makes actual errors harder to find. My logs quickly fill up with entries like:
Operation will NOT be retried. Current attempt 0, Status Code: NotFound
I'd like an option to filter errors before they are logged so I can ignore these errors without turning off all error logging as I don't want to lose other error logs in case of more serious problems.
Is there something I can use within the existing code to achieve this?
The text was updated successfully, but these errors were encountered:
I commonly use
ReadItemStreamAsync
to try to get a value which might or might not exist. Although this method doesn't throw an exception if the item doesn't exist, it still logs an error via the trace listener, which fills up my logs and makes actual errors harder to find. My logs quickly fill up with entries like:I'd like an option to filter errors before they are logged so I can ignore these errors without turning off all error logging as I don't want to lose other error logs in case of more serious problems.
Is there something I can use within the existing code to achieve this?
The text was updated successfully, but these errors were encountered: