Re: Generating CSV file output

2009-03-25 Thread Scott Alexander
I created a custom appender for CSV output. Note: i had to recompile log4net to make the RollFile method virtual. Hope this helps. Scott private static DevicePointValueCsvAppender CreateCsvAppender(string modbusMasterName, IEnumerable values) { var appender = new DevicePoint

Dot in logger name is causing log4net to throw exception

2009-03-25 Thread Sascha Hamacher
Hello, first of all thank you for the very good logging framework. While working with Log4Net 1.2.10 I experienced the following problem: When the logger name starts with a ".", LogManager.GetLogger fails with the following exception: System.ArgumentOutOfRangeException was unhandled Message="I

Re: Rolling log files based on date

2009-03-25 Thread Navin Mishra
Thanks for response. Has somebody tried that and see if it works ? Another note pointed to documentation that it is not supported!? Thanks again and regards Navin 2009/3/25 Dean Fiala This is a configuration for an apprender will roll the file every day and keep 5 days of logs.  

Re: Rolling log files based on date

2009-03-25 Thread Bruno Baia
Hi, Documentation says it's not supported : "A maximum number of backup files when rolling on date/time boundaries is not supported." http://logging.apache.org/log4net/release/sdk/log4net.Appender.RollingFileAppender.html - Bruno 2009/3/25 Dean Fiala > This is a configuration for an app

RE: Rolling log files based on date

2009-03-25 Thread Dean Fiala
This is a configuration for an apprender will roll the file every day and keep 5 days of logs. Check out http://logging.apache.org/log4net/release/sdk/log4net.Appender.RollingFileAp pender.html for more property settings.