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:41:39 UTC

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

qxo commented 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?
   ```
   ${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