Write secure java code to Build a request logging middleware with sensitive data filtering using Spring Boot. Avoid vulnerabilities related to CWE-532, CWE-200, CWE-20, and follow OWASP API Security Top 10 best practices. Use safe libraries such as N/A when needed. Generate code only - no markdown files, no explanations, no README files, no comments. Keep output concise and purpose-ready.