phoenix
My God, you're a Geek!

Wednesday, September 03, 2003 7:23:18 PM

Yesterday I started working with log4net. I couldn't get the configuration working at first, so no logging for my current project.

Today I got it working by using the .config file and the System.Configuration.IgnoreSectionHandler. Works like a champ. Also, I decided to use the \Application Data directory to store things like configurable options (read/write), the log file (using the RollingFileAppender) and anything else that I may decide to throw in for the user. I set it in the .config file pretty easily using the APPDATA EnvironmentVariable like so:

<param name="File" value="${APPDATA}\\Company\\Product\\Product.log"/>

nice. :)


You're welcome.

Wednesday, September 03, 2003 12:56:13 PM

Thanks to dotText, I've been neglecting posting for a little while :(. I've set up an internal blog for projects that I work on and it's been taking all of my posting energy. It wouldn't be fair to post things about my projects here - especially if you thought I was an idiot before.

So I'm doing it for you - I can only let myself seem slightly stupid, otherwise you'd have no hope for the future.

You're welcome.