AnsweredAssumed Answered

LOG: localhost_access_log2018-*

Question asked by nalvarez_colescba on Aug 28, 2018
Latest reply on Aug 28, 2018 by nalvarez_colescba

Muy buenos días comunidad. Nuevamente vengo a consultarles para encontrar una solución a una duda que tengo. 

 

Tal cual el titulo de mi consulta me frefiero al log: localhost_access_log2018-XX-YY.txt , el mimso se encuentra en la ruta: 

opt/alfresco-community/tomcat/logs/

El problema en cuestión es que todos los días me genera un log enorme, que se acerca a 1 GB, con mas de 200k lineas. En su mayoría todas del SOLR4. Dentro de la configuración del Solr4 no pude evitar que este registro introduzca lineas dentro del archivo en cuestión. Alguien sabría indicarme donde se encuentra esta opción?

 

Desde ya muchas gracais.

 

 

127.0.0.1 - - [28/Aug/2018:09:46:15 -0300] "GET /alfresco/service/api/solr/transactions?fromCommitTime=1535412630961&toCommitTime=1535416230961&maxResults=2000&baseUrl=%2Fsolr4%2Farchive&hostName=alfresco1.colescba.org.ar&template=&instance=0&numberOfShards=1&port=8080&stores=archive%3A%2F%2FSpacesStore&isMaster=true&hasContent=true&shardMethod=MOD_ACL_ID&lastUpdated=1535460375053&lastIndexedChangeSetCommitTime=1533662758021&lastIndexedChangeSetId=1700&lastIndexedTxCommitTime=1534861830961&lastIndexedTxId=3355 HTTP/1.1" 200 117
127.0.0.1 - - [28/Aug/2018:09:46:15 -0300] "GET /alfresco/service/api/solr/transactions?fromCommitTime=1535416230961&toCommitTime=1535419830961&maxResults=2000&baseUrl=%2Fsolr4%2Farchive&hostName=alfresco1.colescba.org.ar&template=&instance=0&numberOfShards=1&port=8080&stores=archive%3A%2F%2FSpacesStore&isMaster=true&hasContent=true&shardMethod=MOD_ACL_ID&lastUpdated=1535460375053&lastIndexedChangeSetCommitTime=1533662758021&lastIndexedChangeSetId=1700&lastIndexedTxCommitTime=1534861830961&lastIndexedTxId=3355 HTTP/1.1" 200 117
127.0.0.1 - - [28/Aug/2018:09:46:15 -0300] "GET /alfresco/service/api/solr/transactions?fromCommitTime=1535419830961&toCommitTime=1535423430961&maxResults=2000&baseUrl=%2Fsolr4%2Farchive&hostName=alfresco1.colescba.org.ar&template=&instance=0&numberOfShards=1&port=8080&stores=archive%3A%2F%2FSpacesStore&isMaster=true&hasContent=true&shardMethod=MOD_ACL_ID&lastUpdated=1535460375053&lastIndexedChangeSetCommitTime=1533662758021&lastIndexedChangeSetId=1700&lastIndexedTxCommitTime=1534861830961&lastIndexedTxId=3355 HTTP/1.1" 200 117
127.0.0.1 - - [28/Aug/2018:09:46:15 -0300] "GET /alfresco/service/api/solr/transactions?fromCommitTime=1535423430961&toCommitTime=1535427030961&maxResults=2000&baseUrl=%2Fsolr4%2Farchive&hostName=alfresco1.colescba.org.ar&template=&instance=0&numberOfShards=1&port=8080&stores=archive%3A%2F%2FSpacesStore&isMaster=true&hasContent=true&shardMethod=MOD_ACL_ID&lastUpdated=1535460375053&lastIndexedChangeSetCommitTime=1533662758021&lastIndexedChangeSetId=1700&lastIndexedTxCommitTime=1534861830961&lastIndexedTxId=3355 HTTP/1.1" 200 117
127.0.0.1 - - [28/Aug/2018:09:46:15 -0300] "GET /alfresco/service/api/solr/transactions?fromCommitTime=1535427030961&toCommitTime=1535430630961&maxResults=2000&baseUrl=%2Fsolr4%2Farchive&hostName=alfresco1.colescba.org.ar&template=&instance=0&numberOfShards=1&port=8080&stores=archive%3A%2F%2FSpacesStore&isMaster=true&hasContent=true&shardMethod=MOD_ACL_ID&lastUpdated=1535460375053&lastIndexedChangeSetCommitTime=1533662758021&lastIndexedChangeSetId=1700&lastIndexedTxCommitTime=1534861830961&lastIndexedTxId=3355 HTTP/1.1" 200 117
127.0.0.1 - - [28/Aug/2018:09:46:16 -0300] "GET /alfresco/service/api/solr/transactions?fromCommitTime=1535430630961&toCommitTime=1535434230961&maxResults=2000&baseUrl=%2Fsolr4%2Farchive&hostName=alfresco1.colescba.org.ar&template=&instance=0&numberOfShards=1&port=8080&stores=archive%3A%2F%2FSpacesStore&isMaster=true&hasContent=true&shardMethod=MOD_ACL_ID&lastUpdated=1535460375053&lastIndexedChangeSetCommitTime=1533662758021&lastIndexedChangeSetId=1700&lastIndexedTxCommitTime=1534861830961&lastIndexedTxId=3355 HTTP/1.1" 200 117
127.0.0.1 - - [28/Aug/2018:09:46:16 -0300] "GET /alfresco/service/api/solr/transactions?fromCommitTime=1535434230961&toCommitTime=1535437830961&maxResults=2000&baseUrl=%2Fsolr4%2Farchive&hostName=alfresco1.colescba.org.ar&template=&instance=0&numberOfShards=1&port=8080&stores=archive%3A%2F%2FSpacesStore&isMaster=true&hasContent=true&shardMethod=MOD_ACL_ID&lastUpdated=1535460375053&lastIndexedChangeSetCommitTime=1533662758021&lastIndexedChangeSetId=1700&lastIndexedTxCommitTime=1534861830961&lastIndexedTxId=3355 HTTP/1.1" 200 117
127.0.0.1 - - [28/Aug/2018:09:46:16 -0300] "GET /alfresco/service/api/solr/transactions?fromCommitTime=1535437830961&toCommitTime=1535441430961&maxResults=2000&baseUrl=%2Fsolr4%2Farchive&hostName=alfresco1.colescba.org.ar&template=&instance=0&numberOfShards=1&port=8080&stores=archive%3A%2F%2FSpacesStore&isMaster=true&hasContent=true&shardMethod=MOD_ACL_ID&lastUpdated=1535460375053&lastIndexedChangeSetCommitTime=1533662758021&lastIndexedChangeSetId=1700&lastIndexedTxCommitTime=1534861830961&lastIndexedTxId=3355 HTTP/1.1" 200 117
127.0.0.1 - - [28/Aug/2018:09:46:16 -0300] "GET /alfresco/service/api/solr/transactions?fromCommitTime=1535441430961&toCommitTime=1535445030961&maxResults=2000&baseUrl=%2Fsolr4%2Farchive&hostName=alfresco1.colescba.org.ar&template=&instance=0&numberOfShards=1&port=8080&stores=archive%3A%2F%2FSpacesStore&isMaster=true&hasContent=true&shardMethod=MOD_ACL_ID&lastUpdated=1535460375053&lastIndexedChangeSetCommitTime=1533662758021&lastIndexedChangeSetId=1700&lastIndexedTxCommitTime=1534861830961&lastIndexedTxId=3355 HTTP/1.1" 200 117
127.0.0.1 - - [28/Aug/2018:09:46:16 -0300] "GET /alfresco/service/api/solr/transactions?fromCommitTime=1535445030961&toCommitTime=1535448630961&maxResults=2000&baseUrl=%2Fsolr4%2Farchive&hostName=alfresco1.colescba.org.ar&template=&instance=0&numberOfShards=1&port=8080&stores=archive%3A%2F%2FSpacesStore&isMaster=true&hasContent=true&shardMethod=MOD_ACL_ID&lastUpdated=1535460375053&lastIndexedChangeSetCommitTime=1533662758021&lastIndexedChangeSetId=1700&lastIndexedTxCommitTime=1534861830961&lastIndexedTxId=3355 HTTP/1.1" 200 117
127.0.0.1 - - [28/Aug/2018:09:46:16 -0300] "GET /alfresco/service/api/solr/transactions?fromCommitTime=1535448630961&toCommitTime=1535452230961&maxResults=2000&baseUrl=%2Fsolr4%2Farchive&hostName=alfresco1.colescba.org.ar&template=&instance=0&numberOfShards=1&port=8080&stores=archive%3A%2F%2FSpacesStore&isMaster=true&hasContent=true&shardMethod=MOD_ACL_ID&lastUpdated=1535460375053&lastIndexedChangeSetCommitTime=1533662758021&lastIndexedChangeSetId=1700&lastIndexedTxCommitTime=1534861830961&lastIndexedTxId=3355 HTTP/1.1" 200 117
127.0.0.1 - - [28/Aug/2018:09:46:16 -0300] "GET /alfresco/service/api/solr/transactions?fromCommitTime=1535452230961&toCommitTime=1535455830961&maxResults=2000&baseUrl=%2Fsolr4%2Farchive&hostName=alfresco1.colescba.org.ar&template=&instance=0&numberOfShards=1&port=8080&stores=archive%3A%2F%2FSpacesStore&isMaster=true&hasContent=true&shardMethod=MOD_ACL_ID&lastUpdated=1535460375053&lastIndexedChangeSetCommitTime=1533662758021&lastIndexedChangeSetId=1700&lastIndexedTxCommitTime=1534861830961&lastIndexedTxId=3355 HTTP/1.1" 200 117
127.0.0.1 - - [28/Aug/2018:09:46:16 -0300] "GET /alfresco/service/api/solr/transactions?fromCommitTime=1535455830961&toCommitTime=1535459430961&maxResults=2000&baseUrl=%2Fsolr4%2Farchive&hostName=alfresco1.colescba.org.ar&template=&instance=0&numberOfShards=1&port=8080&stores=archive%3A%2F%2FSpacesStore&isMaster=true&hasContent=true&shardMethod=MOD_ACL_ID&lastUpdated=1535460375053&lastIndexedChangeSetCommitTime=1533662758021&lastIndexedChangeSetId=1700&lastIndexedTxCommitTime=1534861830961&lastIndexedTxId=3355 HTTP/1.1" 200 117

 

[root@alfresco1 ~]# cat /opt/alfresco-community/tomcat/logs/localhost_access_log2018-08-28.txt | wc -l
743155

Outcomes