/
Log File Maintenance

Log File Maintenance

SubmitServer

Log files can accumulate and use significant amounts of space. It is recommended to clean out these logs every one to two months.

  • SSH into server that hosts SubmitServer.

    ssh -i ~/.ssh/marm_engcomp_ssh_ed25519 eugo@eng-eugo-mms1.private.uwaterloo.ca
  • Enter Docker container.

    docker exec -it marmoset-submitserver-103-01 /bin/bash
  • The following locations contain log files:

    • /usr/share/tomcat9/logs

    • /var/log

    • /var/log/tomcat9/marmoset

      • buildServer.log...

      • submitServerServlet.log...

  • If necessary, you can search for folders with high usage with the following:

    du -h --max-depth=1 | sort -h

BuildServer