Re: Moving log4net config out of App.config

2008-04-25 Thread Karel Kral
If your file has suffix .config, you must use configuration section handler. See log4net doc and bellow: configuration configSections section name=log4net type=log4net.Config.Log4NetConfigurationSectionHandler, log4net / /configSections log4net /log4net - Prostredi: C#,

RE: Moving log4net config out of App.config

2008-04-25 Thread Walden H. Leverich
How are you starting the logging? We use log4net heavily in our apps, and we always store the config in log4net.config, but we explicitly start logging with something along the lines of: string configFile = Server.MapPath(ConfigurationManager.AppSettings[log4net-config-file]);

Appending log entries to Visual Studio Team Edition unit test results.

2008-04-25 Thread SeanB
I'm trying append my log entries to the test results from a unit test in VSTS. Generally, anytime you call Console.WriteLine from within your unit test, the results are written to the console. So, I figured if you use the appender I have below, the log results would show up there as well. I'm

Re: Appending log entries to Visual Studio Team Edition unit test results.

2008-04-25 Thread SeanB
Sorry, let me rephrase below... SeanB wrote: I'm trying append my log entries to the test results from a unit test in VSTS. Generally, anytime you call Console.WriteLine from within your unit test, the text is included in the test results. So, I figured if you use the appender I have