Can we create separate log files each time when t开发者_开发百科he application is run? If i run my application 2 times, I should get 2 separate log files, hopefully the file names can be appended with
Should I be using 开发者_运维问答the ILog or ILogger interface? I find the ILog interface to be easier to use since I can just declare one instance per class by calling:
I\'m trying to migrate from NHibernate 2.1 to NHibernate 3.1. The FluentNHibernate 1.2 download contains lots of NHibernate dlls, as if it is trying to bundle everything required for NHibernate. But i
I\'m currently having issues with getting log4net to work within a particular dll.I\'m currently using log4net in other dlls being called by my test app and logging is working fine within those dlls a
I\'ve just taken over a C# project that uses the log4net xmllayout for logging. The problem is that each event in the log has 4 data values: machinename, hostname, username and app which are always
I\'m writing this code in a Console Application targeting the .NET Framework 4 Client Profile. this.container.AddFacility<LoggingFacility>(
I\'m just getting started with log4net.To read the XML configuration file, it is my understanding that you have to place the following in the AssemblyInfo file of your project:
I have the level set to \"INFO\" but I\'m seeing DEBUG events in the log. Config <?xml version=\"1.0\"?>
Under my VS2010 solution I\'ve this situation: WEBSITE Library1 Library2 On global.asax.cs I initialize the log4net configuration using:
We\'re using Log4Net with a FileAppender to log errors during a process. As the process is finishing, we want to email the log file but we can\'t do that as it Log4Net still has a lock on the file and