2 Replies Latest reply on Sep 27, 2010 8:50 AM by luk luk

    log4j.xml and logfile name pattern

    luk luk Newbie

      Hi all,

       

      I tweaked a bit log4j.xml in JBoss 4.0.5 to rotate log on date base not size and so far reconfiguration went fine.

       

      The only thing that bothers me is logfile name pattern after log rotation: now is servicename.log.DATE which is ok though I would prefer to have it DATE.servicename.log.

       

      So far I was not able to reconfigure it- the service name goes always first. Is there any way to append it to the end of rotated file name?

       

      Thank you for any hints.

       

      --

      luk