So use a rolling file appender in log4j. You can set max file size, or max days to keep, maybe both. It renames the old one with a time/date ...
確定! 回上一頁