<?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 how to change log folder locations and log sizes in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-change-log-folder-locations-and-log-sizes/m-p/64238#M74198</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;it seems the default log location is under /var/log&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I change this after the installation. Also I want to reduce the amount of logging.&lt;/P&gt;&lt;P&gt;Otherwise my disk will run out of space.&lt;/P&gt;</description>
    <pubDate>Thu, 01 Feb 2018 21:12:41 GMT</pubDate>
    <dc:creator>NewBee22</dc:creator>
    <dc:date>2018-02-01T21:12:41Z</dc:date>
    <item>
      <title>how to change log folder locations and log sizes</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-change-log-folder-locations-and-log-sizes/m-p/64238#M74198</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;it seems the default log location is under /var/log&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I change this after the installation. Also I want to reduce the amount of logging.&lt;/P&gt;&lt;P&gt;Otherwise my disk will run out of space.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2018 21:12:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-change-log-folder-locations-and-log-sizes/m-p/64238#M74198</guid>
      <dc:creator>NewBee22</dc:creator>
      <dc:date>2018-02-01T21:12:41Z</dc:date>
    </item>
    <item>
      <title>Re: how to change log folder locations and log sizes</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-change-log-folder-locations-and-log-sizes/m-p/64239#M74199</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/25658"&gt;@NewBee22&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For your first question, Go to Cloudera Manager -&amp;gt; HDFS -&amp;gt; Configuration -&amp;gt; search for 'Log Directory' -&amp;gt; change the dir path wherever applicable&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For your second question, Go to Cloudera Manager -&amp;gt; HDFS -&amp;gt; Configuration -&amp;gt; search for 'maximum log' -&amp;gt; Here you can change both Max log file size &amp;amp; Number of log files to retain.&lt;BR /&gt;Ex:&lt;BR /&gt;Maximum Audit Log File Size - 100 Mib (You can reduce the size)&lt;BR /&gt;Number of Audit Logs to Retain - 10 (you can reduce how many logs to retain)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Finally, you can do this for all the applicable services like yarn, etc&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2018 21:26:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-change-log-folder-locations-and-log-sizes/m-p/64239#M74199</guid>
      <dc:creator>saranvisa</dc:creator>
      <dc:date>2018-02-01T21:26:27Z</dc:date>
    </item>
  </channel>
</rss>

