simontankersley opened a new issue, #1922:
URL: https://github.com/apache/logging-log4j2/issues/1922

   ## Description
   
   As per the documentation on 
https://logging.apache.org/log4j/2.x/manual/layouts.html, log4j2 has a 
*Conversion Pattern* called `notEmpty` that:
   
   > Outputs the result of evaluating the pattern if and only if all variables 
in the pattern are not empty.
   
   In version 2.20.0 of log4j2, this works as expected but in version 2.21.0 
and above (at time of creating the issue) it doesn't.
   
   Please see Reproduction section for more details.
   
   ## Configuration
   
   **Version:** 2.21.0 and 2.21.1
   
   **Operating system:** Mac OS 14.0
   
   **JDK:** openjdk 17.0.5
   
   ## Logs
   
   Please see Reproduction section for details.
   
   ## Reproduction
   
   Please see https://github.com/simontankersley/log4j_notEmpty_bug#readme
   


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to