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

Fix PatterFormatter documentation for host name pattern

    Details

      Description

      Currently the short host name pattern, %h, is documented as allowing the a precision argument to be added. This should not be allowed and the short host should only be the first segment of the host.

      The qualified host name pattern, %H, indicates the precision is done left to right just like a log category or class name. However in general a host name is the opposite direction and thus should be segmented from right to left instead. For example given the host name developer.jboss.org and a pattern of %H{1}:

      Current Output
      org
      
      Expected Output
      developer
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  jamezp James Perkins
                  Reporter:
                  jamezp James Perkins
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: