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/11 11:17:59 UTC
[GitHub] [logging-log4j2] qxo opened a new pull request #312: make
variableResolverPrefix/variableResolverSuffix/variableResolverEscape
configable
qxo opened a new pull request #312: make variableResolverPrefix/variableResolverSuffix/variableResolverEscape configable
URL: https://github.com/apache/logging-log4j2/pull/312
so that `logStdoutPattern:-%d{yyyyMMdd HH:mm:ss} %-5p %c{20}:%L - %m%n` will be ok
by change variableResolverPrefix/variableResolverSuffix to "$(" and ")"
ie:
```log4j2.properties
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