4 Replies Latest reply on Feb 29, 2012 1:11 PM by Ken Takahashi

    How do I change the log file output location??

    Ken Takahashi Newbie

      Hello,

       

      how can I change the output location of my log files in JBoss Application Server?

       

      I've read that this can be configured In the "jboss-log4j.xml" file.  I currently have the log files defaulted to: <param name="File" value="${jboss.server.log.dir}/server.log"/>

       

      I have 2 physical hard drives on the server.  How can I change the output location to another drive and folder on the same server?  Eg.,  F:\logs

      I'm not too sure of the syntax here.

       

      Also, do I need to restart JBoss AS after making this change?

       

      The main reason for wanting to do this is because these logs are growing quite huge and are taking up enormous amounts of disk space on the C: drive.

       

      Attached is the "jboss-log4j.xml" file.

       

      Thanks.