I've authored https://github.com/qos-ch/logback/pull/336 to resolve this issue, essentially per the implementation recommendations above.