tags:

views:

33

answers:

1

I have a WCF Service hosted in IIS. I am getting the WCF Tracing , but I can't find where my trace.writeline entries are going. My trace listener only logs the WCF Tracing. Is there a specific Source I need to add to get this included.

+1  A: 
  • Start the Event Viewer
  • Open the Applications and Services logs folder
  • -> Microsoft -> Windows -> Application Server-Applications
  • Right click the Application Server-Applications folder and choose View -> Show Analytic and Debug Logs
  • Expand the Application Server-Applications folder and right click the Debug log. Choose Enable Log.

If you know run a WCF/WF service compiled in debug mode, the Debug.WriteLine() should be logged to the log.

Remember to disable the log when you're done with it.

--larsw

larsw