Contents tagged with Log4Net
-
Tweaking log4net Settings Programmatically
A few months ago, I had to dynamically add a log4net appender at runtime. Now I find myself in another log4net situation. I need to modify the configuration of my appenders at runtime.
-
Live Capture of Log4Net Logging
I recently had to whip up a small diagnostics application for a client. We were having some connection problems with a component so we wanted to wrap a WinForms GUI around the component and display some debugging information to try and diagnose it.
-
OutputDebugStringAppender in a web app?
I spent a couple of hours yesterday trying to get log4net to log to an OutputDebugStringAppender with no success. At first, I thought I had a configuration error in log4net so I added a file appender and that works fine. It's a Monorail application that uses ActiveRecord for database access. There's a couple of spots where I wanted to check out the SQL being generated by ActiveRecord (NHibernate). I did all my set up for log4net and even got it logging to a FileAppender. But I wanted to log the SQL to an OutputDebugStringAppender.