qxo commented on issue #312: make 
variableResolverPrefix/variableResolverSuffix/variableResolverEscape configable
URL: https://github.com/apache/logging-log4j2/pull/312#issuecomment-553442728
 
 
   It's for log4j2 config file, such as log4j2.properties, log4j2.json or 
log4j.yaml
   before this PR there no way for change variableResolverSuffix in config file
   `${logStdoutPattern:-%d{yyyyMMdd HH:mm:ss} %-5p %c{20}:%L - %m%n}' 
   will not work -- cause `variableResolverSuffix=}`
   
   after this PR we can change variableResolverPrefix and  
variableResolverSuffix to `$(` and `)`
   then  logStdoutPattern with default value will work as below:
   ```
   $(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:
[email protected]


With regards,
Apache Git Services

Reply via email to