Closed mm580486 closed 5 years ago
hi guys
i want to limit output.log file for example i want only saved last 50000 record and remove older record, i can do ? how ?
The RollingFile appender is the closest thing I can offer you. Unfortunately it does not support limiting the file by the number of log records written. It can roll the file based on size and by age.
RollingFile
hi guys
i want to limit output.log file for example i want only saved last 50000 record and remove older record, i can do ? how ?