Logging properly using tomcat's logger instead of stderr