[jboss-jira] [JBoss JIRA] (LOGMGR-206) Qualified host name should use right based precision instead of left

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


     [ https://issues.jboss.org/browse/LOGMGR-206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Perkins updated LOGMGR-206:
---------------------------------
    Fix Version/s: 2.1.5.Final


> Qualified host name should use right based precision instead of left
> --------------------------------------------------------------------
>
>                 Key: LOGMGR-206
>                 URL: https://issues.jboss.org/browse/LOGMGR-206
>             Project: JBoss Log Manager
>          Issue Type: Bug
>            Reporter: James Perkins
>            Assignee: James Perkins
>            Priority: Major
>             Fix For: 2.1.5.Final
>
>
> Currently if precision is used to remove segments from a qualified host name the names are removed from left to right as they are with the category or class name. However host names are generally reversed and should be truncated from right to left. For example given the host name {{logmanager.jboss.org}} and the pattern {{%H\{1\}}} the resulting host name should be {{logmanager}} not {{org}}.
> This does in a sense break compatibility however it feels it was a bug that it even trimmed from the left. If desired there is a workaround too with a pattern like {{%.-3H}} if you wanted the {{org}} part of the host name.



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


More information about the jboss-jira mailing list