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

[Migration operation] [Web to Undertow] migration of access-log prefix attribute doesn't take into account default value resulting in incosistent result.

    Details

      Description

      Access log prefix in web subsystem is by default access-log., in Undertow subsystem it is access-log. Note the difference, there is "." at the end in case of Web.

      There is inconsistency of migrate operation when migrating prefix attribute. When prefix is not explicitly defined in Web (=> default is used => access-log., note the dot at the end. It is migrated to default Undertow prefix, which is access-log (missing "." at the end).

      In case of having explicitely set prefix="access-log.", it is the same value as the default value in Web and in this case this is migrated to access-log. (the "." is there).

      => two equivalent Web subsystem configuration of access-log result in two different configurations in Undertow, which is not expected behaviour.

      As this impacts only access-log naming, I am considering this only as minor issue.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  swd847 Stuart Douglas
                  Reporter:
                  rhatlapa Radim Hatlapatka
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: