|
DCMTK
Version 3.6.1 20120515
OFFIS DICOM Toolkit
|
RollingFileAppender extends FileAppender to backup the log files when they reach a certain size. More...
Inheritance diagram for dcmtk::log4cplus::RollingFileAppender:Public Member Functions | |
| RollingFileAppender (const tstring &filename, long maxFileSize=10 *1024 *1024, int maxBackupIndex=1, bool immediateFlush=true) | |
| RollingFileAppender (const helpers::Properties &properties, tstring &error) | |
Protected Member Functions | |
| virtual void | append (const spi::InternalLoggingEvent &event) |
| void | rollover () |
Protected Attributes | |
| long | maxFileSize |
| int | maxBackupIndex |
Private Member Functions | |
| void | init (long maxFileSize, int maxBackupIndex) |
RollingFileAppender extends FileAppender to backup the log files when they reach a certain size.
Properties additional to FileAppender's properties:
MaxFileSize This property specifies maximal size of output file. The value is in bytes. It is possible to use MB and KB suffixes to specify the value in megabytes or kilobytes instead.
MaxBackupIndex log.1, log.2 etc. files will be kept.