Inheritance diagram for log4cplus::DailyRollingFileAppender:
Public Member Functions | |
DailyRollingFileAppender (const log4cplus::tstring &filename, DailyRollingFileSchedule schedule=DAILY, bool immediateFlush=true, int maxBackupIndex=10) | |
DailyRollingFileAppender (const log4cplus::helpers::Properties &properties, log4cplus::tstring &error) | |
virtual void | close () |
Protected Member Functions | |
virtual void | append (const spi::InternalLoggingEvent &event) |
void | rollover () |
log4cplus::helpers::Time | calculateNextRolloverTime (const log4cplus::helpers::Time &t) const |
log4cplus::tstring | getFilename (const log4cplus::helpers::Time &t) const |
Protected Attributes | |
DailyRollingFileSchedule | schedule |
log4cplus::tstring | scheduledFilename |
log4cplus::helpers::Time | nextRolloverTime |
int | maxBackupIndex |
Private Member Functions | |
void | init (DailyRollingFileSchedule schedule) |
Properties additional to FileAppender's properties:
Schedule
MONTHLY
, WEEKLY
, DAILY
, TWICE_DAILY
, HOURLY
and MINUTELY
.
MaxBackupIndex
log.2009-11-07.1
, log.2009-11-07.2
etc. files are kept.
Definition at line 196 of file fileap.h.