Shaily Goel
2005-06-21 05:06:59 UTC
We are planning to use Rolling File Appender provided by Log4net.
Our requirements are like below:
1. Rolling File Appender should be able to log the messages into a
local file with an extension of .log
2. It should write the message in xml format in local file.
3. It should be able to roll log files based on either size or date.
When the current log file reaches a particular size/date, a new log file
is rolled into its place.
4. The old log file should be stored in a compressed format until the
maximum number of log files is reached, causing the oldest log file to
be deleted.
I found that all my above requirements are met by Rolling File Appender
provided by log4net except that "The old log file should be stored in a
compressed format ".
I want to know whether Rolling File appender internally store all old
log files in compressed format??If not, how can we achieve this ?
Thanks
Shaily
Our requirements are like below:
1. Rolling File Appender should be able to log the messages into a
local file with an extension of .log
2. It should write the message in xml format in local file.
3. It should be able to roll log files based on either size or date.
When the current log file reaches a particular size/date, a new log file
is rolled into its place.
4. The old log file should be stored in a compressed format until the
maximum number of log files is reached, causing the oldest log file to
be deleted.
I found that all my above requirements are met by Rolling File Appender
provided by log4net except that "The old log file should be stored in a
compressed format ".
I want to know whether Rolling File appender internally store all old
log files in compressed format??If not, how can we achieve this ?
Thanks
Shaily