David Roussel commented on New Feature LOGBACK-515
Ideally rather than just using the logging level, you could use a pluggable trigger. Then you could implement what is requested in this thread: http://logback.10977.n7.nabble.com/Is-grouped-deferred-log-statements-from-same-threads-possible-using-logback-td11522.html

You'd just use an MDC value to trigger the end of batch.

Ideally the code from SMTP appender could be shared? Not sure how feasible that is.
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira