[jboss-jira] [JBoss JIRA] (LOGMGR-144) Allow the # symbol to be used for expressions in a PatternFormatter

James Perkins (JIRA) issues at jboss.org
Mon Nov 14 13:04:02 EST 2016


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

James Perkins updated LOGMGR-144:
---------------------------------
    Description: 
Currently in the format pattern when you want to define an expression the format pattern is {code}
%${system.property.key:default-value}
{code}

This can cause problems other applications that parse the same type of expression format like WildFly. Adding an option like the following will allow a workaround for this issue.
{code}
%#{system.property.key:default:value}
{code}

  was:
Currently in the format pattern when you want to define an expression the format pattern is {code}
%${system.property.key:default-value}
{code}

This can cause problems other applications that parse the same type of expression format like WildFly. Adding an option like the following will allow a workaround for this issue.
{code{
%#{system.property.key:default:value}
{code}



> Allow the # symbol to be used for expressions in a PatternFormatter
> -------------------------------------------------------------------
>
>                 Key: LOGMGR-144
>                 URL: https://issues.jboss.org/browse/LOGMGR-144
>             Project: JBoss Log Manager
>          Issue Type: Feature Request
>            Reporter: James Perkins
>            Assignee: James Perkins
>
> Currently in the format pattern when you want to define an expression the format pattern is {code}
> %${system.property.key:default-value}
> {code}
> This can cause problems other applications that parse the same type of expression format like WildFly. Adding an option like the following will allow a workaround for this issue.
> {code}
> %#{system.property.key:default:value}
> {code}



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list