문제

I need to split log files by file size like RollingFileAppender but I also want separate logs by date like DailyRollingFileAppender. I searched the web and can't find any good solution.

Is it possible to combine both of these in one log4j properties configuration?

도움이 되었습니까?

해결책

You might look at TimeAndSizeRollingAppender.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top