[jboss-jira] [JBoss JIRA] (WFLY-2264) Property expressions resolved before the PatternFormatter can resolve them

James Perkins (JIRA) jira-events at lists.jboss.org
Tue Oct 8 19:30:02 EDT 2013


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

James Perkins commented on WFLY-2264:
-------------------------------------

So a logging format pattern like the following should not be allowed?

{code}
%d{yyyy-MM-dd HH:mm:ss,SSS} %${server.name:localhost} %-5p [%c] (%t) %s%E%n
{code}

Maybe for the pattern I should have chose something better then {{%$}}. It just seemed the logical thing to do to keep it standard with our other property expressions.
                
> Property expressions resolved before the PatternFormatter can resolve them
> --------------------------------------------------------------------------
>
>                 Key: WFLY-2264
>                 URL: https://issues.jboss.org/browse/WFLY-2264
>             Project: WildFly
>          Issue Type: Bug
>          Components: Logging
>            Reporter: James Perkins
>            Assignee: James Perkins
>            Priority: Minor
>             Fix For: 8.0.0.CR1
>
>
> System property expressions defined in {{pattern-formatter}} or {{formatter}} attributes are processed by the {{AttributeDefinition}} rather than left and processed by the {{PatternFormatter}}. This results in invalid pattern values being used and stops the server from logging.

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