Fix pattern.
Fix tomcatlog.