improvement suggested by LOGBACK-815
improvement suggested by LOGBACK-816
Merge pull request #79 from ceharris/LOGBACK-815

Patch for LOGBACK-815, LOGBACK-816