Fog Creek Software
Discussion Board

Welcome! and rules

Joel on Software

Tracing from web service

We are using Trace to log stuff in our web service. When we use Trace.WriteLine from within the web service project itself the trace works fine and is output to the correct file. However, when another .dll that is used by the web service calls Trace.WriteLine it doesn´t show up anywhere. Anyone have any idea why this could be? We have a trace listener in the web.config file and it´s used correctly in the actual web service. 

This works perfectly in a normal windows application, using another dll to write to the trace but not here. Could this be some kind of security issue with

Wednesday, May 4, 2005

Does the other DLL have the same trace listener added to it's trace listener collection?

Or in other words..

... how is the DLL told that it needs to write output to that file in that directory?

Friday, May 6, 2005

*  Recent Topics

*  Fog Creek Home