[jboss-jira] [JBoss JIRA] (AS7-5250) PatternFormatter: add support for "truncate from the beginning"

Gernot P (JIRA) jira-events at lists.jboss.org
Wed Jul 25 09:49:07 EDT 2012


Gernot P created AS7-5250:
-----------------------------

             Summary: PatternFormatter: add support for "truncate from the beginning"
                 Key: AS7-5250
                 URL: https://issues.jboss.org/browse/AS7-5250
             Project: Application Server 7
          Issue Type: Feature Request
          Components: Logging
    Affects Versions: 7.1.1.Final
            Reporter: Gernot P
            Assignee: James Perkins


org.jboss.logmanager.formatters.PatternFormatter does not support "truncate from the beginning" as log4j patterns do
(see http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/PatternLayout.html)

e.g. in log4j the format "%30.30c" outputs a fixed length category (30 characters) and truncates the category from the beginning if it's longer than 30 characters (especially for the category this is a reasonable choice, because the beginning of the category - which is mostly a package name - is always the same and therefore not menaingful)

logmanager truncates at the end - so please add support for "truncate from the beginning"

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list