0 Replies Latest reply on Nov 1, 2016 9:41 AM by Happy Singh

    Custom File Handler in JBoss AS 6

    Happy Singh Newbie


      I want to configure logs with time and size both .

      Same this which is mentioned in the below mentioned link. But It is for Jboss 7 and the sme thisng is not working in JBoss 6

      How to configure PeriodicSizeRotatingFileHandler in JBoss 7?

      How can I achieve the same in JBoss AS 6 ?

      Tried but doesn't work.

      <periodic-rotating-file-handler name="FILE" autoflush="true" file-name="${jboss.server.log.dir}/server.log" suffix=".yyyy-MM-dd" append="true" rotate-size="50" max-backup-index="10" >