[jboss-jira] [JBoss JIRA] (WFLY-11109) Fix PatterFormatter documentation for host name pattern
James Perkins (Jira)
issues at jboss.org
Fri May 31 17:06:00 EDT 2019
[ https://issues.jboss.org/browse/WFLY-11109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James Perkins updated WFLY-11109:
---------------------------------
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 last 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}
was:
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}
> 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
> Priority: Major
>
> 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 last 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