You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by GitBox <gi...@apache.org> on 2019/11/12 15:42:44 UTC

[GitHub] [logging-log4j2] qxo edited a comment on issue #312: make variableResolverPrefix/variableResolverSuffix/variableResolverEscape configable

qxo edited a comment on issue #312: make variableResolverPrefix/variableResolverSuffix/variableResolverEscape configable
URL: https://github.com/apache/logging-log4j2/pull/312#issuecomment-552949253
 
 
   > What problem is this solving? Is there a Jira issue?
   There no Jira issue yet, Or please add a Jira issue aboute this:)
   ```
   ${logStdoutPattern:-%d{yyyyMMdd HH:mm:ss} %-5p %c{20}:%L - %m%n} 
   ```
   not work in the log4j2 config
   After the PR, by change variableResolverPrefix/variableResolverSuffix  will fix my problem
   ie:
   ```
   variableResolverPrefix=$(
   variableResolverSuffix=)
   appender.console.layout.pattern=$(logStdoutPattern:-%d{yyyyMMdd HH:mm:ss} %-5p %c{20}:%L - %m%n)
   ```
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services