[jboss-jira] [JBoss JIRA] (LOGMGR-96) Make it easier to add custom pattern format characters

Kyle Lape (JIRA) issues at jboss.org
Wed Feb 26 15:26:47 EST 2014


    [ https://issues.jboss.org/browse/LOGMGR-96?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12948494#comment-12948494 ] 

Kyle Lape commented on LOGMGR-96:
---------------------------------

If any format chars are added to the {{FormatStringParser}} after this is added, then it has the potential to clash with a custom format char used by a custom pattern formatter.  This could be resolved by allowing custom formatters to override format chars used by {{FormatStringParser}}, but this introduces issues of its own.
                
> Make it easier to add custom pattern format characters
> ------------------------------------------------------
>
>                 Key: LOGMGR-96
>                 URL: https://issues.jboss.org/browse/LOGMGR-96
>             Project: JBoss Log Manager
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>            Reporter: Kyle Lape
>            Assignee: Kyle Lape
>
> It would be nice to be able to add custom format characters without having to add each one directly to the LogManager project.  For example, say someone wants to have {{%h}} represent the JBoss host name.  This may not be desirable to keep in our codebase, but it would be reasonable to allow someone to easily customize our {{PatternFormatter}} to do something like this.

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