If you want to trace in the same trace source as WCF you can use this Example in Damir Dobric Blog . But if you use the WCF Configuration Editor to generate the System.Diagnostic section in the configuration file, this call will fail with the error “...