cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco tomcat log files deletion

bagodu
Confirmed Champ
Confirmed Champ

Hi Team,

In Alfresco 5.0.d , can i delete/remove the following files , it was taking too much of memory in /opt/alfresco/tomcat/logs folder.

  • manager.2017-*-*.log
  • localhost_access*_log.2017-*-*.txt
  • catalina.2017-*-*.log

Please let me know ,if i delete those files , i thing it wont affect alfresco to run ?

Regards

Suhas

1 ACCEPTED ANSWER

mehe
Elite Collaborator
Elite Collaborator

Hi Suhas,

you can safely delete these files. They are rotated logs and are no longer accessed by tomcat.

But you should look into your actual log - maybe there is a repeating error that fills up your logfile and should be 

Martin

View answer in original post

4 REPLIES 4

mehe
Elite Collaborator
Elite Collaborator

Hi Suhas,

you can safely delete these files. They are rotated logs and are no longer accessed by tomcat.

But you should look into your actual log - maybe there is a repeating error that fills up your logfile and should be 

Martin

cesarista
World-Class Innovator
World-Class Innovator

Hi, you should rotate your catalina.out too, check this:

Basic maintenaince of your Alfresco logs - Simple tips about Alfresco logs - zylk 

Regards.

--C:

mehe
Elite Collaborator
Elite Collaborator

Like Cesar shows in his blog, you can use logrotate also to get rid of older logs. So you don't have to remove them manually (sometimes you don't want to delete last few logs to analyse an error)...

bagodu
Confirmed Champ
Confirmed Champ

Issue was resolved , working successfully