0 Replies Latest reply on Sep 26, 2013 4:14 PM by King Koopa

    JBoss 7.1.1 does not create server.log.

    King Koopa Newbie

      Hello all experts.

      Here is what we currently have running,

      JBoss 7.1.1 in Domain Mode.

      OS Red Hat:Red Hat Enterprise Linux Server release 6.4 (Santiago)

       

      So on the host(Host-A) that acts as the Domain Controller we also have an App-Server. We have 17 other hosts but I am testing it out on Host-A right now.

       

      In the domain.xml on that very server, we have created a custom profile and in that profile I have configured a log location like this:

       

      <profile name="AppLogix-full-ha">

                  <subsystem xmlns="urn:jboss:domain:logging:1.1">

                      <console-handler name="CONSOLE">

                          <level name="INFO"/>

                          <formatter>

                              <pattern-formatter pattern="%d{HH:mm:ss,SSS} %-5p [%c] (%t) %s%E%n"/>

                          </formatter>

                      </console-handler>

                      <periodic-rotating-file-handler name="FILE">

                          <level name="INFO"/>

                          <formatter>

                              <pattern-formatter pattern="%d{HH:mm:ss,SSS} %-5p [%c] (%t) %s%E%n"/>

                          </formatter>

                         <file relative-to="jboss.server.log.dir" path="/apps/logs/AppLogix.Cluster/server.log"/>

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

                          <append value="true"/>

                      </periodic-rotating-file-handler>

       

       

      and this the only place where the log is configured for the app server.

      I don't have anything in the host.xml on Host-A.

       

      Problem is it still keeps creating the log in  the /apps/jboss/jboss-as-7.1.1.Final/domain/servers/AppLogix.Member1/log ( which *I THINK* is the default location)

       

      What am I doing wrong here experts?

      What did I miss?

      Any help is very monumentally appreciated.

      Sincerely,

      KK.