Introduce MetadataLogger for better logging in Tomcat.