[jboss-jira] [JBoss JIRA] (WFLY-11109) Fix PatterFormatter documentation for host name pattern

James Perkins (Jira) issues at jboss.org
Wed Oct 3 17:04:00 EDT 2018


James Perkins created WFLY-11109:
------------------------------------

             Summary: Fix PatterFormatter documentation for host name pattern
                 Key: WFLY-11109
                 URL: https://issues.jboss.org/browse/WFLY-11109
             Project: WildFly
          Issue Type: Task
          Components: Documentation
            Reporter: James Perkins
            Assignee: James Perkins


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\}}}:
{code:title=Current Output}
org
{code}

{code:title=Expected Output}
developer
{code}



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list