<?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>question Is there any way to reduce log file sizes in ATLAS version 0.8.0 ? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-there-any-way-to-reduce-log-file-sizes-in-ATLAS-version-0/m-p/215136#M66403</link>
    <description>&lt;P&gt;In HDP 2.6.0.3 ( ATLAs version 0.8.0 ), cluster is generating log files of approx 1 GB/day. ATLAS log settings are set to INFO level. Is there any way to reduce volume of entries in log files ?&lt;/P&gt;</description>
    <pubDate>Thu, 10 Aug 2017 20:27:57 GMT</pubDate>
    <dc:creator>shishir_saxena4</dc:creator>
    <dc:date>2017-08-10T20:27:57Z</dc:date>
    <item>
      <title>Is there any way to reduce log file sizes in ATLAS version 0.8.0 ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-there-any-way-to-reduce-log-file-sizes-in-ATLAS-version-0/m-p/215136#M66403</link>
      <description>&lt;P&gt;In HDP 2.6.0.3 ( ATLAs version 0.8.0 ), cluster is generating log files of approx 1 GB/day. ATLAS log settings are set to INFO level. Is there any way to reduce volume of entries in log files ?&lt;/P&gt;</description>
      <pubDate>Thu, 10 Aug 2017 20:27:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-there-any-way-to-reduce-log-file-sizes-in-ATLAS-version-0/m-p/215136#M66403</guid>
      <dc:creator>shishir_saxena4</dc:creator>
      <dc:date>2017-08-10T20:27:57Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any way to reduce log file sizes in ATLAS version 0.8.0 ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-there-any-way-to-reduce-log-file-sizes-in-ATLAS-version-0/m-p/215137#M66404</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2820/shishirsaxena3.html" nodeid="2820"&gt;@Shishir Saxena&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You can try using the standard "log4j"  Filtering mechanism to tell the log4j to not log the lines containing  few Strings "blah blah"&lt;/P&gt;&lt;PRE&gt;    &amp;lt;filter class="org.apache.log4j.varia.StringMatchFilter"&amp;gt;
      &amp;lt;param name="StringToMatch" value="blah blah" /&amp;gt;
      &amp;lt;param name="AcceptOnMatch" value="false" /&amp;gt;
    &amp;lt;/filter&amp;gt;&lt;/PRE&gt;&lt;P&gt;- Here you can write many strings (part of a line) that you are seeing repeatedly in your log file and are useless.&lt;BR /&gt;&lt;A href="https://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/varia/StringMatchFilter.html" target="_blank"&gt;https://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/varia/StringMatchFilter.html&lt;/A&gt;  &lt;/P&gt;&lt;P&gt;- The above filter you can add inside the "Atlas"&lt;/P&gt;&lt;P&gt;Ambari UI --&amp;gt; Atlas --&amp;gt; Configs --&amp;gt; Advanced --&amp;gt; Advanced atlas-log4j  &lt;BR /&gt;&lt;BR /&gt;Your desired Appender Tag something like following:&lt;/P&gt;&lt;PRE&gt;&amp;lt;appender  .....&amp;gt;
   .
   .
    &amp;lt;filter class="org.apache.log4j.varia.StringMatchFilter"&amp;gt;
      &amp;lt;param name="StringToMatch" value="blah blah" /&amp;gt;
      &amp;lt;param name="AcceptOnMatch" value="false" /&amp;gt;
    &amp;lt;/filter&amp;gt;   
&amp;lt;/appender&amp;gt;&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Reference:  &lt;A href="http://middlewaremagic.com/jboss/?p=296" target="_blank"&gt;http://middlewaremagic.com/jboss/?p=296&lt;/A&gt;     &lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Other option will be to change to Logging level from INFO to WARN ( but that will then show only WARNING, ERROS, CRITICAL,FATAL) messages, No INFO messages.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Aug 2017 20:46:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-there-any-way-to-reduce-log-file-sizes-in-ATLAS-version-0/m-p/215137#M66404</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-08-10T20:46:35Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any way to reduce log file sizes in ATLAS version 0.8.0 ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-there-any-way-to-reduce-log-file-sizes-in-ATLAS-version-0/m-p/215138#M66405</link>
      <description>&lt;P&gt;I think this link will show you how to change INFO to WARN or ERROR, as well as adjust rotating log sizes&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/content/supportkb/49455/atlas-default-logging-is-filling-up-file-system-ho.html" target="_blank"&gt;https://community.hortonworks.com/content/supportkb/49455/atlas-default-logging-is-filling-up-file-system-ho.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Aug 2017 20:57:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-there-any-way-to-reduce-log-file-sizes-in-ATLAS-version-0/m-p/215138#M66405</guid>
      <dc:creator>gkeys</dc:creator>
      <dc:date>2017-08-10T20:57:36Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any way to reduce log file sizes in ATLAS version 0.8.0 ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-there-any-way-to-reduce-log-file-sizes-in-ATLAS-version-0/m-p/215139#M66406</link>
      <description>&lt;P&gt;Is there a specific exception that is logged over and over again? If yes, can you please let me know what the exception is?&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2017 00:40:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-there-any-way-to-reduce-log-file-sizes-in-ATLAS-version-0/m-p/215139#M66406</guid>
      <dc:creator>amestry</dc:creator>
      <dc:date>2017-08-16T00:40:09Z</dc:date>
    </item>
  </channel>
</rss>

