[jboss-user] [Installation, Configuration & Deployment] - Access Log file (of tomcat embedded) rotation w/o jboss rest

rajeshchande do-not-reply at jboss.com
Tue Aug 22 10:17:10 EDT 2006


Hello,

I have set up JBoss 4.0.4GA, deployed many apps, working fine, no issues.

Each application is generating a separate access log file "access.log". Right now  I have stopped the default rotation of everyday by putting rotatable="false" attribute in $jboss_home/server-name/deploy/server.xml. 

I want to rotate this access files on a monthly basis w/o a restart of JBoss.

I have tried the following, but they all ask for restart of JBoss server:
 - shell script archiving and then emptying by " > access.log" or "cp /dev/null > access.log", It empties the access.log, but after this nothing is logged until the jboss is restarted.

How Can I avoid this restart ? Any suggestions?

Regards,
Rajesh.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3966708#3966708

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3966708



More information about the jboss-user mailing list