I\'m using the below log4net configuration.I\'m trying to write performance logs to a separate file but the output is going to both files.Even though I\'m specifiying:
I have a few applications and I want add to their reference to my class library MyLogger, which bases at log4net. In this library I have App.config file.
Okay so I have a WCF service writing to the Event Log. All is well except for one detail..it won\'t pay any attention to the logName attribute,..here\'s the config.
I have the following log4net configuration: <log4net> <appender name=\"A1\" type=\"log4net.Appender.RollingFileAppender\">
I have a C# Win Form application and in each class i get the logger like this: private static readonly ILog Log = LogManager.GetLogger(\"ApplnLogger\");
This is my situation. I have successfully implemented logging to remote syslog using log4net. However, as far as I could test, if syslog IP is not valid, all messages will not log anywhere and no exce
I\'m trying to implement a custom log4net logger/logmanager so that I can add a new level. I also want to have the schema of the target table (I\'m using an AdoNetAppender and SQL Server 2008) to have
Here\'s my web.config information: <configSections> <section name=\"log4net\" type=\"log4net.Config.Log4NetConfigurationSectionHandler, log4net\"/>
Being a log4net newb / boob I just copied lines from an NHibernate example project where I can see the log.txt file is updated. Is there a quick answer why mine isn\'t creating the file?
I started to play with log4net today and so far, I really like it.In order to preserve our current logging functionality, the app needs to create a new log file whenever the application is started.The