5 Replies Latest reply on Jul 30, 2014 11:37 AM by jaikiran pai

    log4j.properties system variable not loading correctly

    Matthew Segreti Newbie

      I am using log4j 1.2.17 and deploying my application using Jboss EAP 6.2 GA. My log4j is configured using a log4j.properties file that I configured. I wanted output of a DailyRollingFileAppender to go to a directory based on a system variable. So I have it set up like this:


      In the VM Arguments of the server configuration I have:


      Where EAP_HOME is an Environment Variable I set up.

      My Problem is that whenever I try and log, my output goes to EAP_HOME/bin/standalone/log/system.log

      I am not sure why it is going to the bin directory when that is not specified anywhere in my settings.

      I want it to be in EAP_HOME/standalone/log/system.log

      Any ideas?