simplified LogAdapter to hopefully resolve Tomcat issues