James Perkins created LOGMGR-206:
------------------------------------
Summary: 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
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)