Welcome to Headwind MDM Q&A, where you can ask questions and receive answers from other members of the community.

Please do not post bug reports, missing feature requests, or demo inquiries. If you have such an inquiry, submit a contact form.

0 votes
Hello,

May I ask what is the difference of logs in /var/lib/tomcat9/logs to /var/cache/tomcat9/logs.
It seems that the /var/cache is consuming almost 50% of the storage of our server.
ago by (400 points)

1 Answer

0 votes
 
Best answer
/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.
ago by (42.7k points)
selected ago by
...