JBoss Community

log4j.xml and logfile name pattern

created by luk luk in Beginner's Corner - View the full discussion

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

Reply to this message by going to Community

Start a new discussion in Beginner's Corner at Community