/var/cache/tomcat9 is the Tomcat's sandbox, and /var/cache/tomcat9/logs is a "hard link" to /var/lib/tomcat9/work/logs.
These are the logs written by Headwind MDM application itself, and their contents is mostly the same as the /var/lib/tomcat9/logs/catalina.out. You can manage the log contents by editing the file: /var/lib/tomcat9/work/log4j-hmdm.xml.