If you're using sec:debug/, logs go to System.out, which might not be properly routed in a WAR/Tomcat/container setup. The correct approach for Kubernetes is to stick with logback and SLF4J, and avoid sec:debug/ unless you're troubleshooting locally.