Pierre Greborio.NET

Talking about .NET world

Trace or healt monitoring ?

In ASP.NET 2.0 there is a new way to log (or trace) web applications/services: health monitoring. It's a new way to prop information (not only critical information) through several channels (by defaukt there many providers). In ASP.NET there is a similar feature (ok, hralth monitoring is more flexible): System.Trace.

So, is there any advantage of Trace over the new one ? I admit, I didn't studied healt monitoring too much, but it seems it is dependent only from ASP.NET. What happens for other kind (COM+, windows services, etc.) of services ? If I have a class library used by both services (IIS, COM+, ...) which kind of logging system do I have to use ? I think System.Diagnostics.Trace maintain an higher level of flexibility and independence.

Comments

No Comments