cancel
Showing results for 
Search instead for 
Did you mean: 

Very heavy logs files alfresco content service

zlucy82
Confirmed Champ
Confirmed Champ

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 ACCEPTED ANSWERS

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

4 REPLIES 4

angelborroy
Community Manager Community Manager
Community Manager

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

You can control verbosity from Alfresco application and Tomcat configuration.

Hyland Developer Evangelist

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.

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