Groups | Blog | Home
all groups > dotnet framework > february 2006 >

dotnet framework : Logging in vs 2005 and .Net 2


Gabriel Magaña
2/15/2006 11:43:39 AM
I just wrote my own... It's really simple to do (rolling log files,
archiving automatically, etc...).

[quoted text, click to view]

Michael Nemtsev
2/15/2006 11:46:24 AM
We use custom class derived from TraceListener, to log in XML format
Look at TraceListener, you find that u need.
Moreover, look at TraceSwitch class.

By the way, log4ner realy neat tool

[quoted text, click to view]

--
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
Sam B
2/15/2006 7:26:24 PM
What are you using for logging in .Net 2.0?

I can't find a lot of documentation on this.

Log4net, maybe, or Enterprise Library - (but it seems overkill to use the EL
when all I want from it is the logging).

Or is there enough funtionality in the .Net 2.0 framework to do without
log4net or EL?

I'm leaning towards log4net. .Net 2.0 doesn't seem to support rolling flat
files.

AddThis Social Bookmark Button