<?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 FALCON : rotate falcon.audit.log falcon.metric.log in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/FALCON-rotate-falcon-audit-log-falcon-metric-log/m-p/112860#M50820</link>
    <description>&lt;P&gt;hi all, &lt;/P&gt;&lt;P&gt;I'm in HDP 2.4 with falcon, i don't see how to configure rotate log by day for this logs :&lt;/P&gt;&lt;PRE&gt;|-- falcon.audit.log
|-- falcon.metric.log

&lt;/PRE&gt;&lt;P&gt;Any ideas  ?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jan 2017 23:43:32 GMT</pubDate>
    <dc:creator>maykiwogno</dc:creator>
    <dc:date>2017-01-04T23:43:32Z</dc:date>
    <item>
      <title>FALCON : rotate falcon.audit.log falcon.metric.log</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/FALCON-rotate-falcon-audit-log-falcon-metric-log/m-p/112860#M50820</link>
      <description>&lt;P&gt;hi all, &lt;/P&gt;&lt;P&gt;I'm in HDP 2.4 with falcon, i don't see how to configure rotate log by day for this logs :&lt;/P&gt;&lt;PRE&gt;|-- falcon.audit.log
|-- falcon.metric.log

&lt;/PRE&gt;&lt;P&gt;Any ideas  ?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jan 2017 23:43:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/FALCON-rotate-falcon-audit-log-falcon-metric-log/m-p/112860#M50820</guid>
      <dc:creator>maykiwogno</dc:creator>
      <dc:date>2017-01-04T23:43:32Z</dc:date>
    </item>
    <item>
      <title>Re: FALCON : rotate falcon.audit.log falcon.metric.log</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/FALCON-rotate-falcon-audit-log-falcon-metric-log/m-p/112861#M50821</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/10363/maykiwogno.html" nodeid="10363"&gt;@mayki wogno&lt;/A&gt;&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt; I have tested RFA appender for Falcon  logs . Please make below changes in Falcon log4j.xml .(Example - Metric logs)&lt;/P&gt;&lt;PRE&gt;     &amp;lt;appender name="METRIC" class="org.apache.log4j.RollingFileAppender"&amp;gt;
        &amp;lt;param name="File" value="${falcon.log.dir}/${falcon.app.type}.metric.log"/&amp;gt;
        &amp;lt;param name="Append" value="true"/&amp;gt;
        &amp;lt;param name="Threshold" value="debug"/&amp;gt;
        &amp;lt;param name="MaxBackupIndex" value="10"/&amp;gt;
         &amp;lt;param name="MaxFileSize" value="2048"/&amp;gt;
        &amp;lt;layout class="org.apache.log4j.PatternLayout"&amp;gt;
            &amp;lt;param name="ConversionPattern" value="%d %m%n"/&amp;gt;
        &amp;lt;/layout&amp;gt;
    &amp;lt;/appender&amp;gt;

&lt;/PRE&gt;&lt;P style="margin-left: 20px;"&gt;You can set MaxBackupIndex(Number of files) and MaxFileSize(Size in Bytes)  as per you environment.&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;Also, You can set it similarly for other logs like audit logs etc.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jan 2017 14:05:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/FALCON-rotate-falcon-audit-log-falcon-metric-log/m-p/112861#M50821</guid>
      <dc:creator>prsingh1</dc:creator>
      <dc:date>2017-01-06T14:05:09Z</dc:date>
    </item>
  </channel>
</rss>

