I've been using Log4Net for some file logging in Web servics.
Exceptions are stored in a db and mailed to parties, but I've found it
helpful to use Log4Net and write to a log file with some information
like SQL or stored procedures names beign called.
My question is it an acceptable to practice to use log files on
servers? Log4Net cleans up after itself. I've heard some developers are
opposed to the practice, but I've found it helpful, especially when a
web service is first deployed.
Regards,
Gabe.
John Saunders - 16 Oct 2006 18:34 GMT
> I've been using Log4Net for some file logging in Web servics.
> Exceptions are stored in a db and mailed to parties, but I've found it
[quoted text clipped - 5 lines]
> opposed to the practice, but I've found it helpful, especially when a
> web service is first deployed.
Servers are precisely where you need some sort of logging. How else would
you know what's going on?
I don't know Log4Net, but if it can be configured to log what's needed and
to ignore verbose details, then go ahead and use it.
John