<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Very big log file in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/very-big-log-file/m-p/52017#M19660</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe this helps:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.zylk.net/en/web-2-0/blog/-/blogs/simple-tips-about-alfresco-logs" title="https://www.zylk.net/en/web-2-0/blog/-/blogs/simple-tips-about-alfresco-logs" rel="nofollow noopener noreferrer"&gt;Basic maintenaince of your Alfresco logs - Simple tips about Alfresco logs - zylk&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;--C.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Apr 2018 10:57:26 GMT</pubDate>
    <dc:creator>cesarista</dc:creator>
    <dc:date>2018-04-16T10:57:26Z</dc:date>
    <item>
      <title>Very big log file</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/very-big-log-file/m-p/52016#M19659</link>
      <description>Hello!Got the very big log files in tomcat/logs/Inside Something like:&amp;nbsp;.............127.0.0.1 - - [13/Apr/2018:00:00:19 +0300] "GET /alfresco/service/api/solr/transactions?fromCommitTime=1522634233889&amp;amp;toCommitTime=1522637833889&amp;amp;maxResults=2000&amp;amp;baseUrl=%2Fsolr4%2Farchive&amp;amp;hostName=Alf&amp;amp;</description>
      <pubDate>Mon, 16 Apr 2018 10:42:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/very-big-log-file/m-p/52016#M19659</guid>
      <dc:creator>djarty</dc:creator>
      <dc:date>2018-04-16T10:42:04Z</dc:date>
    </item>
    <item>
      <title>Re: Very big log file</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/very-big-log-file/m-p/52017#M19660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe this helps:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.zylk.net/en/web-2-0/blog/-/blogs/simple-tips-about-alfresco-logs" title="https://www.zylk.net/en/web-2-0/blog/-/blogs/simple-tips-about-alfresco-logs" rel="nofollow noopener noreferrer"&gt;Basic maintenaince of your Alfresco logs - Simple tips about Alfresco logs - zylk&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;--C.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2018 10:57:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/very-big-log-file/m-p/52017#M19660</guid>
      <dc:creator>cesarista</dc:creator>
      <dc:date>2018-04-16T10:57:26Z</dc:date>
    </item>
    <item>
      <title>Re: Very big log file</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/very-big-log-file/m-p/52018#M19661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi! Its looks like fight with log size but not with source of problem &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;P&gt;I figure out something about&amp;nbsp;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;solrcore.properties&amp;nbsp; and&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE class="" style="color: #000000; background: #f5f2f0; border: 0px; margin: 0.5em 0px; padding: 1em 1em 1em 3.8em;"&gt;&lt;CODE style="border: 0px; font-weight: inherit;"&gt;alfresco.cron=0/15 * * * * ? *&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;inside ... may be need to make more than 15 sec.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But i think better way suppress exactly this solr log messg about datascan..&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So how to unlog this mess but continue to log another one?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2018 12:03:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/very-big-log-file/m-p/52018#M19661</guid>
      <dc:creator>djarty</dc:creator>
      <dc:date>2018-04-16T12:03:55Z</dc:date>
    </item>
    <item>
      <title>Re: Very big log file</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/very-big-log-file/m-p/52019#M19662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may increase SOLR cronjob,&amp;nbsp;but this would imply that your document indexes are not complete or consistent during &amp;nbsp;at least this time (15s). This cronjob is run for indexing (asyncronously) last transactions created in Alfresco.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;--C.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2018 12:58:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/very-big-log-file/m-p/52019#M19662</guid>
      <dc:creator>cesarista</dc:creator>
      <dc:date>2018-04-16T12:58:17Z</dc:date>
    </item>
    <item>
      <title>Re: Very big log file</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/very-big-log-file/m-p/52020#M19663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So how to suppress exactly this&amp;nbsp;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;"GET /alfresco/service/api/&lt;/SPAN&gt;&lt;SPAN style="color: #727174; background-color: #ffffff; border: 0px; font-weight: bold;"&gt;&lt;STRONG&gt;solr&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;/transactions?... log strings (in localhost_access_log...txt)&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;Also anyway - some problem exists.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;In &lt;STRONG&gt;one&lt;/STRONG&gt; second - ~&lt;STRONG&gt;50&lt;/STRONG&gt; requests&amp;nbsp; and another 50 next second step by step.&amp;nbsp; so this request don't run every 15 sec.. its run all the time after start alfresco (even dont login and do nothing)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2018 13:28:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/very-big-log-file/m-p/52020#M19663</guid>
      <dc:creator>djarty</dc:creator>
      <dc:date>2018-04-16T13:28:20Z</dc:date>
    </item>
    <item>
      <title>Re: Very big log file</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/very-big-log-file/m-p/52021#M19664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looking for&amp;nbsp;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;localhost_access_log...txt&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #3d3d3d;"&gt;And see&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #3d3d3d;"&gt;From start using alfresco it was 10-20 requests every 15 sec&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #3d3d3d;"&gt;Now its more than 100-200 requests and looks like its not enough time to get answer or something and must to start next requests&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #3d3d3d;"&gt;Think (may be wrong) something related with&amp;nbsp; &amp;nbsp;"POST /alfresco/service/api/solr/modelsdiff HTTP/1.1" 200 37&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #3d3d3d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #3d3d3d;"&gt;Also looking on CPU load .. every 15 sec like a pulsar - maximum&amp;nbsp;CPU load..&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #3d3d3d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #3d3d3d;"&gt;If not possible to decrease GET requests count.. I hope possible not write all of them into log file and dont make iotop ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S. now just use Cesar recommendation and turn off local access log via server.xml&amp;nbsp;&lt;/P&gt;&lt;P&gt;But many Get requests and CPU load in this time looking not good, need&amp;nbsp;tune.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2018 07:01:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/very-big-log-file/m-p/52021#M19664</guid>
      <dc:creator>djarty</dc:creator>
      <dc:date>2018-04-17T07:01:43Z</dc:date>
    </item>
    <item>
      <title>Re: Very big log file</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/very-big-log-file/m-p/52022#M19665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN&gt;Greetings, I am currently having the same problem.&lt;/SPAN&gt; &lt;SPAN&gt;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.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;I have not found a solution to my problem yet.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 May 2018 19:12:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/very-big-log-file/m-p/52022#M19665</guid>
      <dc:creator>oscareubieda</dc:creator>
      <dc:date>2018-05-28T19:12:56Z</dc:date>
    </item>
    <item>
      <title>Re: Very big log file</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/very-big-log-file/m-p/52023#M19666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the above link Oscar.&lt;/P&gt;&lt;P&gt;Probably you need to purge some logs under tomcat/logs or deactivate localhost-access logs in tomcat configuration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;--C.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2018 13:59:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/very-big-log-file/m-p/52023#M19666</guid>
      <dc:creator>cesarista</dc:creator>
      <dc:date>2018-05-29T13:59:52Z</dc:date>
    </item>
    <item>
      <title>Re: Very big log file</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/very-big-log-file/m-p/52024#M19667</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;it is 2022 and I still run in this issue with Alfresco 7.1.1 and Search Service 2.0.2&lt;/P&gt;&lt;P&gt;localhost_access.log is growing and growing. It seems Search Service repeatedly asks Alfresco for the same transactions.&lt;/P&gt;&lt;P&gt;Does anyone found a solution?&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2022 08:46:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/very-big-log-file/m-p/52024#M19667</guid>
      <dc:creator>n-schwalbe</dc:creator>
      <dc:date>2022-05-23T08:46:45Z</dc:date>
    </item>
    <item>
      <title>Re: Very big log file</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/very-big-log-file/m-p/52025#M19668</link>
      <description>&lt;P&gt;I guess that &lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/52951"&gt;@cesarista&lt;/A&gt; included the right link to change that default configuration:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.zylk.net/en/web-2-0/blog/-/blogs/simple-tips-about-alfresco-logs" target="_blank" rel="nofollow noopener noreferrer"&gt;https://www.zylk.net/en/web-2-0/blog/-/blogs/simple-tips-about-alfresco-logs&lt;/A&gt;&lt;/P&gt;
&lt;P style="box-sizing: border-box; margin-top: 0px; margin-bottom: 1rem; font-size: 16px; line-height: 27px; caret-color: #666666; color: #666666; font-family: Roboto, sans-serif; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;"&gt;&lt;STRONG style="box-sizing: border-box; font-weight: 600;"&gt;4. Disable Tomcat localhost logs (localhost_access_log*)&lt;/STRONG&gt;&lt;/P&gt;
&lt;P style="box-sizing: border-box; margin-top: 0px; margin-bottom: 1rem; font-size: 16px; line-height: 27px; caret-color: #666666; color: #666666; font-family: Roboto, sans-serif; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;"&gt;Sometimes it is desired to disable localhost_access_log* logs. For this, you should comment the valve part in server.xml config&lt;/P&gt;
&lt;PRE style="box-sizing: border-box; font-family: SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace; font-size: 14px; margin-top: 0px; margin-bottom: 1rem; overflow: auto; display: block; color: #212529; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;"&gt;$ vim $ALF_HOME/tomcat/conf/server.xml

&amp;lt;!--
        &amp;lt;Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
               prefix="localhost_access_log" suffix=".txt"
               pattern="%h %l %u %t &amp;amp;quot;%r&amp;amp;quot; %s %b" /&amp;gt;
--&amp;gt;&lt;/PRE&gt;
&lt;P style="box-sizing: border-box; margin-top: 0px; margin-bottom: 1rem; font-size: 16px; line-height: 27px; caret-color: #666666; color: #666666; font-family: Roboto, sans-serif; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;"&gt;&lt;BR style="box-sizing: border-box;" /&gt;(and restart Alfresco Service)&lt;/P&gt;
&lt;P style="box-sizing: border-box; margin-top: 0px; margin-bottom: 1rem; font-size: 16px; line-height: 27px; caret-color: #666666; color: #666666; font-family: Roboto, sans-serif; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;"&gt;Did you try this approach?&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2022 09:13:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/very-big-log-file/m-p/52025#M19668</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2022-05-23T09:13:08Z</dc:date>
    </item>
    <item>
      <title>Re: Very big log file</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/very-big-log-file/m-p/52026#M19669</link>
      <description>&lt;P&gt;No, I have not. But I thought more of a solution that not just disable or clean the logs but solves the actual problem of the repeated requests from the search service.&lt;/P&gt;&lt;P&gt;But if there is no other solution than I will clean the logs periodically.&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2022 10:17:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/very-big-log-file/m-p/52026#M19669</guid>
      <dc:creator>n-schwalbe</dc:creator>
      <dc:date>2022-05-23T10:17:39Z</dc:date>
    </item>
    <item>
      <title>Re: Very big log file</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/very-big-log-file/m-p/52027#M19670</link>
      <description>&lt;P&gt;Those repeated requests from Search Service are happening by design.&lt;/P&gt;
&lt;P&gt;Search Service is invoking the Repository periodically to perform indexing operations.&lt;/P&gt;
&lt;P&gt;By default, that happens every 5 seconds:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.alfresco.com/search-services/latest/config/properties/#solr-index-properties" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.alfresco.com/search-services/latest/config/properties/#solr-index-properties&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2022 10:27:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/very-big-log-file/m-p/52027#M19670</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2022-05-23T10:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: Very big log file</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/very-big-log-file/m-p/52028#M19671</link>
      <description>&lt;P&gt;Noticed this happening on our server.&amp;nbsp; 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.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2022 14:05:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/very-big-log-file/m-p/52028#M19671</guid>
      <dc:creator>butterman2</dc:creator>
      <dc:date>2022-07-01T14:05:43Z</dc:date>
    </item>
  </channel>
</rss>

