Very heavy logs files alfresco content service

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

Very heavy logs files alfresco content service

Jump to solution

Hello,
I founds very heavy logs files in the logs directory of tomcat, at this path: /opt/alfresco-community/tomcat/logs/.
Periodically, i must delete most of this files manually because they consume almost all of the disk space available. Why this appens? I thought that its depends form the system.serverMode variable of the properties file, but I understood that this is not the case.

Thanks to all.

2 Solutions

Accepted Solutions
angelborroy
Alfresco Employee

Re: Very heavy logs files alfresco content service

Jump to solution

That log is coming from Tomcat.

You need to modify the conf/server.xml from Tomcat to remove/comment the Valve org.apache.valves.AccessLogValve.

https://techblog.jeppson.org/2015/02/disable-access-logging-tomcat-7/

Hyland Developer Evangelist

View solution in original post

zlucy82
Active Member II

Re: Very heavy logs files alfresco content service

Jump to solution
4 Replies
angelborroy
Alfresco Employee

Re: Very heavy logs files alfresco content service

Jump to solution

What are the names of the files generated in that folder?

You can control verbosity from Alfresco application and Tomcat configuration.

Hyland Developer Evangelist
zlucy82
Active Member II

Re: Very heavy logs files alfresco content service

Jump to solution

Hi,

the files are:

  • catalina.<date>.log
  • host-manager.<date>.log
  • localhost.<date>.log
  • localhost_access_log<date>.txt
  • manager.<date>.log

They are generated every day.

The heaviest files are localhost_access_log<date> .txt, theirs weight can be also 900MB and more.

angelborroy
Alfresco Employee

Re: Very heavy logs files alfresco content service

Jump to solution

That log is coming from Tomcat.

You need to modify the conf/server.xml from Tomcat to remove/comment the Valve org.apache.valves.AccessLogValve.

https://techblog.jeppson.org/2015/02/disable-access-logging-tomcat-7/

Hyland Developer Evangelist

View solution in original post

zlucy82
Active Member II

Re: Very heavy logs files alfresco content service

Jump to solution