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

James Perkins (JIRA) jira-events at lists.jboss.org
Wed Aug 28 16:46:26 EDT 2013


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

James Perkins updated LOGMGR-48:
--------------------------------

    Fix Version/s: 1.5.0.Beta2
                   2.0.0.Beta1

    
> PatternFormatter: add support for "truncate from the beginning"
> ---------------------------------------------------------------
>
>                 Key: LOGMGR-48
>                 URL: https://issues.jboss.org/browse/LOGMGR-48
>             Project: JBoss Log Manager
>          Issue Type: Enhancement
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 1.3.1.Final
>            Reporter: Gernot P
>            Assignee: James Perkins
>             Fix For: 1.5.0.Beta2, 2.0.0.Beta1
>
>
> 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
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list