You might look at TimeAndSizeRollingAppender.
Log4j A combination of DailyRollingFileAppender and RollingFileAppender
-
21-07-2023 - |
Pergunta
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?
Solução
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow