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

Fix PatterFormatter documentation for host name pattern

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • 17.0.0.Final
    • None
    • Documentation
    • None

      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
      

              jperkins-rhn James Perkins
              jperkins-rhn James Perkins
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: