1 Reply Latest reply on Apr 17, 2012 8:04 AM by loredana

    property defined in standalone.xml fails with message "New missing/unsatisfied dependencies: service jboss.server.path"

    loredana Newbie

      I want to have the log files stored in a another folder than standalone/log. So, I have updated the standalone.xml configuration file as below:

      <server xmlns="urn:jboss:domain:1.2">

          <extensions>

            .

            .

          </extensions>

          <system-properties>

              <property name="log.root.dir" value="/tmp/logs"/>

          </system-properties>

         <profile>

              <periodic-rotating-file-handler name="FILE_DAILY" autoflush="true">

                   <formatter>

                       <pattern-formatter pattern="%d %-5p [%c{1}] %m%n"/>

                   </formatter>

                   <file relative-to="log.root.dir" path="c3s_daily.log"/>

                   <suffix value=".yyyy-MM-dd"/>

                   <append value="true"/>

              </periodic-rotating-file-handler>  

      .

      .

      When I am starting Jboss, the property log.root.dir it is not recognized. Do you know why? I would appreciate your help. Thank you.