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

David Lloyd (JIRA) jira-events at lists.jboss.org
Wed Jul 25 11:34:07 EDT 2012


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

David Lloyd moved AS7-5250 to LOGMGR-48:
----------------------------------------

              Project: JBoss Log Manager  (was: Application Server 7)
                  Key: LOGMGR-48  (was: AS7-5250)
           Issue Type: Enhancement  (was: Feature Request)
             Workflow: jira  (was: GIT Pull Request workflow )
    Affects Version/s: 1.3.1.Final
                           (was: 7.1.1.Final)
          Component/s:     (was: Logging)
             Security: Public

    
> 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
>
> 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