Uploaded image for project: 'JBoss Log Manager'
  1. JBoss Log Manager
  2. LOGMGR-206

Qualified host name should use right based precision instead of left

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 2.1.5.Final
    • None
    • None
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: