cancel
Showing results for 
Search instead for 
Did you mean: 

Very big log file

djarty
Star Contributor
Star Contributor

Hello!

Got the very big log files in tomcat/logs/

Inside Something like: 

.............

127.0.0.1 - - [13/Apr/2018:00:00:19 +0300] "GET /alfresco/service/api/solr/transactions?fromCommitTime=1522634233889&toCommitTime=1522637833889&maxResults=2000&baseUrl=%2Fsolr4%2F
archive&hostName=Alf&template=&instance=0&numberOfShards=1&port=8080&stores=archive%3A%2F%2FSpacesStore&isMaster=true&hasContent=true&shardMethod=MOD_ACL_ID&lastUpdated=1523566815
085&lastIndexedChangeSetCommitTime=1520949052219&lastIndexedChangeSetId=15&lastIndexedTxCommitTime=1521097033889&lastIndexedTxId=83 HTTP/1.1" 200 115
127.0.0.1 - - [13/Apr/2018:00:00:19 +0300] "GET /alfresco/service/api/solr/transactions?fromCommitTime=1522637833889&toCommitTime=1522641433889&maxResults=2000&baseUrl=%2Fsolr4%2F
archive&hostName=Alf&template=&instance=0&numberOfShards=1&port=8080&stores=archive%3A%2F%2FSpacesStore&isMaster=true&hasContent=true&shardMethod=MOD_ACL_ID&lastUpdated=1523566815
085&lastIndexedChangeSetCommitTime=1520949052219&lastIndexedChangeSetId=15&lastIndexedTxCommitTime=1521097033889&lastIndexedTxId=83 HTTP/1.1" 200 115

.................

Again and again so logs folder summary rise to 50+ Gb..

What is this and how to fix it?

12 REPLIES 12

Noticed this happening on our server.  The api calls are split into hourly chunks when solr is polling alfresco for latest transactions. If you havn't changed any documents or document permissions (ACLs) for a while then these API calls get very numerous and repeat every 10 secs or so. We had a test server in this position where we hadn't touched it for a couple of months and noticed the CPU going crazy. By uploading a new document and changing a doc permissions made it all go back to normal.

oscareubieda
Champ in-the-making
Champ in-the-making

Greetings, I am currently having the same problem. I noticed when I saw that the hard disk of the server was full, when I checked I noticed that it had files logs with a weight of more than 2GB.

I have not found a solution to my problem yet.

cesarista
World-Class Innovator
World-Class Innovator

Check the above link Oscar.

Probably you need to purge some logs under tomcat/logs or deactivate localhost-access logs in tomcat configuration.

Regards.

--C.