WCF logging (with exceptions) RRS feed

  • Question

  • Hi,

    If I use the built-in "system.diagnostics" to log WCF messages, I have the problem, that I can't correlate/match a request in case of an exception. I capture the exception and log it, but the thread is not the same as the one used to write the message. 

    Any pointers on what to do here? Except to ditch the built-in logging and intercept the data myself. But that doesn't feel right when there is a system that works well. 

    So - I can log the message and the exception. But I can't match them together explicit. 


    Thursday, November 7, 2013 3:07 PM


All replies