Custom Trace Listener sample
You can write your own customer trace listener and add this listener info to WCF application configuration file, WCF will send all the trace information to your custom trace listener class also
Please click on following link to download this sample
https://blogs.msdn.com/madhuponduru/attachment/647429.ashx
More Info:
https://blogs.msdn.com/madhuponduru/archive/2006/05/18/601458.aspx