Exception Logging

M

MS Techie

Hi,

Can anyone give me good pointers on exception logging mechanism for web
services. I am planning to write my own Exception Helper classes to log
arguments and exceptions.

Thanks,
 
I

Ignacio Machin ( .NET/ C# MVP )

Hi,

Can anyone give me good pointers on exception logging mechanism for web
services. I am planning to write my own Exception Helper classes to log
arguments and exceptions.

Thanks,

You can use something as simply as an event log entry. or you can use
a third party package like log4net. It all depends of your need
 
P

Pavel Minaev

Hi,

Can anyone give me good pointers on exception logging mechanism for web
services. I am planning to write my own Exception Helper classes to log
arguments and exceptions.

1. System.Diagnostics.Trace.
2. log4net
3. Enterprise Library - Logging Block

Plenty more options, but those seem to be the most common. I'd start
with Trace as that's a stock .NET class, and if it does everything
that you want then it's less hassle overall. If it's too simplistic,
consider the other options.
 
A

Arne Vajhøj

MS said:
Can anyone give me good pointers on exception logging mechanism for web
services. I am planning to write my own Exception Helper classes to log
arguments and exceptions.

One more for log4net !

Arne
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top