Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-5231

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 10.0.0.CR1
    • 10.0.0.Beta2
    • Web (Undertow)
    • None

    Description

      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"/>

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: