3 Replies Latest reply on Sep 8, 2004 6:50 AM by miffel

    JBoss' org.jboss.logging.appender.DailyRollingFileAppender a

    jonathanztaub

      I'm using JBoss version 3.21 on a Redhat Linux 9.
      In the log4j.xml configuration file, there is an entry for a logger with the "org.jboss.logging.appender.DailyRollingFileAppender" appender.
      Everything works well.

      Recently I've been assigned a task to clean log files if they become to big.
      I thought it would be as simple as deleting the files but that is not the case.
      When deleting the file, it won't be created again so the logs are lost.
      I tried erasing the file's entire content but leaving it on the file system but the effect is the same.

      I'm sure I can use another file appender but I was hoping to make minimal changes.
      Does anybody know why this behaviour occurs?
      What does "DailyRollingFileAppender" does that "RollingFileAppender doesn't do?