Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-20821

[GSS](7.3.z) jboss.server.log.dir property duplicated when server instance is started

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not a Bug
    • Minor
    • None
    • None
    • None
    • None
    • False
    • False
    • Undefined

    Description

      Configure the jboss.server.log.dir in the host.xml for a server instance.
      Start domain.sh

      The logs for the server instance show up in the correct directory, but looking in the log, the org.jboss.as.config shows jboss.server.base.dir with the default value instead of what is configured.

      2021-01-18 17:03:40,808 DEBUG [org.jboss.as.config] (MSC service thread 1-2) Configured system properties:
      ...
        jboss.server.base.dir = /tmp/jboss-eap-7.3/domain/servers/server-one
      ...
      
          <servers>
              <server name="server-one" group="main-server-group">
                  <system-properties>
                      <property name="jboss.server.log.dir" value="/tmp/jboss-eap-7.3/logs"/>
                  </system-properties>
              </server>
          </servers>
      

      Later in the VM Arguments , it shows jboss.server.log.dir listed twice.

      ...
        jboss.server.log.dir = /tmp/jboss-eap-7.3/logs/server-one
      ...
      2021-01-18 17:03:40,809 DEBUG [org.jboss.as.config] (MSC service thread 1-2) VM Arguments: -D[Server:server-one] -D[pcid:1803180489] -Xms1000m -Xmx1000m -XX:MetaspaceSize=96m -XX:MaxMetaspaceSize=256m -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true -Djboss.home.dir=/tmp/jboss-eap-7.3 -Djboss.modules.system.pkgs=org.jboss.byteman -Djboss.server.log.dir=/tmp/jboss-eap-7.3/logs -Djboss.server.log.dir=/tmp/jboss-eap-7.3/logs/server-one -Djboss.server.temp.dir=/tmp/jboss-eap-7.3/domain/servers/server-one/tmp -Djboss.server.data.dir=/tmp/jboss-eap-7.3/domain/servers/server-one/data -Dorg.jboss.boot.log.file=/tmp/jboss-eap-7.3/logs/server-one/server.log -Dlogging.configuration=file:/tmp/jboss-eap-7.3/domain/configuration/default-server-logging.properties
      

      It appears to work correctly, but it it is a little confusing since it lists the value twice and when it lists the system properties, it shows the default value instead of the actual value.

      Attachments

        Activity

          People

            rhn-support-ivassile Ilia Vassilev
            rhn-support-bmaxwell Brad Maxwell
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: