Delete tomcat logs

View some of the Frequently Asked Questions to our support staff. Included are some tips and tricks making this forum ideal for users getting started with GoAnywhere Director. Note: Users can reply to existing topics but only our support staff can add new topics to this forum.
1 post Page 1 of 1

Support_Mary

Support Specialist
Posts: 11
Joined: Tue Feb 09, 2010 11:16 am

Post by Support_Mary » Tue Feb 09, 2010 12:31 pm
Question: In /linoma/goanywhere/tomcat/logs there are a few hundred admin catalina host-manager localhost manager etc. logs. Can these be deleted? How long should we keep them? Is there a way to control retention within GoAnywhere?

Answer: Yes the /linoma/goanywhere/tomcat/logs can be deleted. There are a number of different logs in the tomcat directory: admin.2008-2-15, catalina.2008-2-15, etc. The file catalina.out file does not roll over and can get rather large. The file cannot be deleted or renamed while the GoAnywhere subsystem or service is running.

You can create a GoAnywhere project to work with the logs, rename, delete etc for all the logs except catalina.out. The project could include a task to check the size of catalina.out and notify someone to rename it when it reaches a certain size. The renamed file can then be archived or deleted. A new catalina.out will be created automatically when the GoAnywhere subsystem or services is restarted.

How long you should keep them is really up to you. All the files except catalina.out can be deleted as soon as they roll over.
1 post Page 1 of 1