Hello,<br><br>I&#39;m writing an application and I would like to use logback features to model this scenario: <br><br>My application processes client requests. Each request is identified by a transaction id, that appears on each log message. What I want to do is log all transaction messages if a condition in one transaction message is satisfied. 
<br><br>For example, if my application generates those messages:<br><br>[INFO] [transactionId=10] Searching...<br>[INFO] [transactionId=11] Searching...<br>[INFO] [transactionId=10] response=false<br>[INFO] [transactionId=11] response=true
<br>[INFO] [transactionId=10] Finished<br>[INFO] [transactionId=11] Finished<br><br>And my condition is that variable &quot;response&quot; is set to true, my application output should be:<br><br>[INFO] [transactionId=11] Searching...
<br>[INFO] [transactionId=11] response=true<br>[INFO] [transactionId=11] Finished<br><br>I&#39;ve tried to figure out using buffered appenders to maintain log messages, filters to check conditions and triggers to decide when to log messages, but couldn&#39;t find a suitable solution. I would like to know if there is a way of solving this problem using logback provided features, or ideas to develop my own logback components.
<br><br>Thanks a lot!<br><br>