posted on Tuesday, February 15, 2005 11:01 AM
by
tshak
Rolling File Sink for Enterprise Library Logging
If you've used the
FlatFileSink for writing to a log file you may have noticed that there's no way to limit how large the file can get. The
FlatFileSink is also limited to writing to a single log file. This can be an issue for larger applications in which unbounded logging can result in excessively large files. These limitations are no more with Hisham Baz's
Rolling File Sink. This sink will allow you to specify a file size or age threshold before a new log file is created. It can also be configured to purge files automatically. Thanks Hisham for this awesome contribution!