12-01-2021 05:01 AM
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.
12-03-2021 05:24 AM
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/
12-03-2021 06:56 AM
Thanks, I also found this link very useful: https://www.zylk.net/en/web-2-0/blog/-/blogs/simple-tips-about-alfresco-logs
12-01-2021 08:08 AM
What are the names of the files generated in that folder?
You can control verbosity from Alfresco application and Tomcat configuration.
12-03-2021 04:21 AM
Hi,
the files are:
They are generated every day.
The heaviest files are localhost_access_log<date> .txt, theirs weight can be also 900MB and more.
12-03-2021 05:24 AM
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/
12-03-2021 06:56 AM
Thanks, I also found this link very useful: https://www.zylk.net/en/web-2-0/blog/-/blogs/simple-tips-about-alfresco-logs
Thursday
I'm having the same problem above, but even changing this line in server.xml doesn't work. Could you help me? I'd be grateful.
Explore our Alfresco products with the links below. Use labels to filter content by product module.