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
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
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.
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
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.