Alfresco tomcat log files deletion

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Active Member

Alfresco tomcat log files deletion

Jump to solution

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 Solution

Accepted Solutions
Highlighted
Senior Member II

Re: Alfresco tomcat log files deletion

Jump to solution

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 solution in original post

4 Replies
Highlighted
Senior Member II

Re: Alfresco tomcat log files deletion

Jump to solution

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 solution in original post

Highlighted
Advanced

Re: Alfresco tomcat log files deletion

Jump to solution

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

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

Regards.

--C:

Highlighted
Senior Member II

Re: Alfresco tomcat log files deletion

Jump to solution

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)...

Active Member

Re: Alfresco tomcat log files deletion

Jump to solution

Issue was resolved , working successfully