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

[Migration operation] [Web to Undertow] Web - access-log and its directory attributes are not migrated

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 7.0.0.DR10
    • 7.0.0.DR9
    • Migration, Undertow
    • None

      When migrating access-log via :migrate and access-log contains directory definition, the properties relative-to and path are not migrated.

      Web subsystem snippet:

      <subsystem xmlns="urn:jboss:domain:web:2.2" default-virtual-server="default" native="false">
          <virtual-server name="default" enable-welcome-root="true">
              <alias name="localhost"/>
              <alias name="example.com"/>
              <access-log resolve-hosts="true" prefix="test" rotate="false">
                  <directory relative-to="jboss.server.log.dir" path="testvs/vs"/>
              </access-log>
          </virtual-server>
      </subsystem>
      

      access log part expected to be migrated as

      <access-log rotate="false" prefix="test" directory="testvs/vs" relative-to="jboss.server.log.dir" />
      

      instead it is migrated without the directory and relative-to attributes:
      <access-log rotate="false" prefix="test"/>

            sdouglas1@redhat.com Stuart Douglas
            rhatlapa@redhat.com Radim Hatlapatka (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: