Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-4918

replace ${jboss.server.home.dir}/log references with ${jboss.server.log.dir}

    XMLWordPrintable

    Details

    • Affects:
      Compatibility/Configuration

      Description

      jboss-log4j.xml has this as default:

      <param name="File" value="${jboss.server.log.dir}/server.log"/>

      jboss-web.deployer has this:

      <!-- Access logger -->
      <Valve className="org.apache.catalina.valves.AccessLogValve"
      prefix="localhost_access_log." suffix=".log"
      pattern="common" directory="${jboss.server.home.dir}/log"
      resolveHosts="false" />

      Now, because those two variables are different, I can't easily setup logging to say /var/log/jboss because

      #1. there is two different variables to define: ${jboss.server.home.dir} and ${jboss.server.log.dir}
      #2. the access logger has /log hard coded to the end of the directory attribute which makes it impossible to set the two variables to the same value.

      My preference would be that the default is made to a single variable ${jboss.server.log.dir} which can control everything.

      jon

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                dimitris Dimitris Andreadis
                Reporter:
                whichever Jon Stevens
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: