08-28-2018 08:57 AM
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
08-28-2018 09:08 AM
Hola:
Es un log de Tomcat de los accesos al repositorio, en este caso de SOLR preguntando cada 15s cuantas transacciones le quedan por indexar. También suelen aparecer todas conexiones que se hacen via CMIS. Si tienes un frontal apache además no es de especial utilidad.
Se puede quitar / desactivar desde la configuración de Tomcat, te dejo un enlace al respecto:
Basic maintenaince of your Alfresco logs - Simple tips about Alfresco logs - zylk
Es el tip 4. Si no quieres desactivarlos y mantener unos pocos usa el tip 3.
Saludos.
--C.
08-28-2018 09:20 AM
Cesar:
Muy buenos días !!!!! Muchas gracias por tu acertada y pronta respuesta. Con tu ayuda pude resolver mi inquietud.
Una vez mas, GRACIAS y disculpa la molestia.
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.