<?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 Re: How to switch off the log rotation in hadoop in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/How-to-switch-off-the-log-rotation-in-hadoop/m-p/133138#M95808</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2408/sanjeevanmahajan05.html" nodeid="2408"&gt;@sanjeevan mahajan&lt;/A&gt; every config has a log4j properties section on every service, go to the service you need and adjust log4.properties configuration as desired. here you go &lt;A href="https://community.hortonworks.com/articles/8882/how-to-control-size-of-log-files-for-various-hdp-c.html" target="_blank"&gt;https://community.hortonworks.com/articles/8882/how-to-control-size-of-log-files-for-various-hdp-c.html&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 09 Feb 2016 23:27:06 GMT</pubDate>
    <dc:creator>aervits</dc:creator>
    <dc:date>2016-02-09T23:27:06Z</dc:date>
    <item>
      <title>How to switch off the log rotation in hadoop</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-switch-off-the-log-rotation-in-hadoop/m-p/133137#M95807</link>
      <description>&lt;P&gt;How to switch off the log rotation in hadoop. &lt;/P&gt;&lt;P&gt;The log rotation  is currently done by the log4j. I am trying to collect individual log file details and also SEV levels&lt;/P&gt;</description>
      <pubDate>Tue, 09 Feb 2016 23:25:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-switch-off-the-log-rotation-in-hadoop/m-p/133137#M95807</guid>
      <dc:creator>sanjeevanmahaja</dc:creator>
      <dc:date>2016-02-09T23:25:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to switch off the log rotation in hadoop</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-switch-off-the-log-rotation-in-hadoop/m-p/133138#M95808</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2408/sanjeevanmahajan05.html" nodeid="2408"&gt;@sanjeevan mahajan&lt;/A&gt; every config has a log4j properties section on every service, go to the service you need and adjust log4.properties configuration as desired. here you go &lt;A href="https://community.hortonworks.com/articles/8882/how-to-control-size-of-log-files-for-various-hdp-c.html" target="_blank"&gt;https://community.hortonworks.com/articles/8882/how-to-control-size-of-log-files-for-various-hdp-c.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Feb 2016 23:27:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-switch-off-the-log-rotation-in-hadoop/m-p/133138#M95808</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-02-09T23:27:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to switch off the log rotation in hadoop</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-switch-off-the-log-rotation-in-hadoop/m-p/133139#M95809</link>
      <description>@Artem Ervits : Thanks a lot for the reply. So for Kafka in the above document we need to comment (hash) below mentioned properties &lt;OL&gt;&lt;LI&gt;Comment out the appender’s date pattern: &lt;PRE&gt;&lt;/PRE&gt;&lt;OL&gt;&lt;LI&gt;#log4j.appender.kafkaAppender.DatePattern='.'yyyy-MM-dd-HH&lt;/LI&gt;&lt;/OL&gt;
 &lt;PRE&gt;&lt;/PRE&gt;&lt;OL&gt;&lt;LI&gt;#log4j.appender.kafkaAppender=org.apache.log4j.DailyRollingFileAppender&lt;/LI&gt;&lt;/OL&gt;
&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Tue, 09 Feb 2016 23:32:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-switch-off-the-log-rotation-in-hadoop/m-p/133139#M95809</guid>
      <dc:creator>sanjeevanmahaja</dc:creator>
      <dc:date>2016-02-09T23:32:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to switch off the log rotation in hadoop</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-switch-off-the-log-rotation-in-hadoop/m-p/133140#M95810</link>
      <description>&lt;P&gt;same log4j rules apply, it's no different than what you would do without Ambari. &lt;A rel="user" href="https://community.cloudera.com/users/2408/sanjeevanmahajan05.html" nodeid="2408"&gt;@sanjeevan mahajan&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Feb 2016 23:36:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-switch-off-the-log-rotation-in-hadoop/m-p/133140#M95810</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-02-09T23:36:07Z</dc:date>
    </item>
  </channel>
</rss>

