I need an appender that can change file both daily or when the actual file
size reaches a max size (something like mixing DailyRollingFileAppender and
RollingFileAppender) and delete the old log file per some days.
is it posible to obtain such appender without modifying source? If i need to
modify the source... any of you have done it before?
Look around for log4j custom appenders.