This question came up from what I see on a clients side: Intermittent Connection Reset by Peer errors in Android connecting to .NET REST endpoint
Simply put, I suspect that my WCF service for some reason intermittenly reject clients. I wonder if there is any way to log those rejections? I'm not even sure if that happens on WCF level, maybe it happens in IIS itself before routed to WCF?
I want to know how to log any errors for requests coming to my WCF endpoint. Inside WCF there is no issues, I log any kind of exceptions thrown.