LOGBACK-865

Fix for http://jira.qos.ch/browse/LOGBACK-865