[Migration operation] [Web to Undertow] Web - access-log and its
directory attributes are not migrated
------------------------------------------------------------------------------------------------------
Key: WFLY-5231
URL:
https://issues.jboss.org/browse/WFLY-5231
Project: WildFly
Issue Type: Bug
Components: Web (Undertow)
Affects Versions: 10.0.0.Beta2
Reporter: Radim Hatlapatka
Assignee: Stuart Douglas
Priority: Critical
Fix For: 10.0.0.CR1
When migrating access-log via {{:migrate}} and access-log contains directory definition,
the properties {{relative-to}} and {{path}} are not migrated.
Web subsystem snippet:
{code:xml}
<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>
{code}
access log part expected to be migrated as
{code:xml}
<access-log rotate="false" prefix="test"
directory="testvs/vs" relative-to="jboss.server.log.dir" />
{code}
instead it is migrated without the {{directory}} and {{relative-to}} attributes:
<access-log rotate="false" prefix="test"/>