EDOC-503 Fix LoggingFilter Security Violation (reverse-merged from commit 2f8b58afc14128831a4ef504998488511603b33d)