<?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: Separate log file for each AMP and not in alfresco.log in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/separate-log-file-for-each-amp-and-not-in-alfresco-log/m-p/42516#M17715</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have to configure the "&lt;A href="https://veerasundar.com/blog/2009/08/log4j-tutorial-additivity-what-and-why/" rel="nofollow noopener noreferrer"&gt;additivity&lt;/A&gt;" of your logger to false to no longer make it propagate logging events to inherited&amp;nbsp;appenders (the alfresco.log is an appender inherited from the root).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Apr 2018 07:04:06 GMT</pubDate>
    <dc:creator>afaust</dc:creator>
    <dc:date>2018-04-06T07:04:06Z</dc:date>
    <item>
      <title>Separate log file for each AMP and not in alfresco.log</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/separate-log-file-for-each-amp-and-not-in-alfresco-log/m-p/42515#M17714</link>
      <description>Hi,I have below setting in my AMP's log4j.properties file. The below setting works fine and creates a separate log file named amp_abc.log.&amp;nbsp; The only problem is the AMP specific log goes to both the files alfresco.log and amp_abc.log file.Is there any way so that the logs goes only to the AMP specifi</description>
      <pubDate>Thu, 05 Apr 2018 18:09:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/separate-log-file-for-each-amp-and-not-in-alfresco-log/m-p/42515#M17714</guid>
      <dc:creator>signjoy</dc:creator>
      <dc:date>2018-04-05T18:09:11Z</dc:date>
    </item>
    <item>
      <title>Re: Separate log file for each AMP and not in alfresco.log</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/separate-log-file-for-each-amp-and-not-in-alfresco-log/m-p/42516#M17715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have to configure the "&lt;A href="https://veerasundar.com/blog/2009/08/log4j-tutorial-additivity-what-and-why/" rel="nofollow noopener noreferrer"&gt;additivity&lt;/A&gt;" of your logger to false to no longer make it propagate logging events to inherited&amp;nbsp;appenders (the alfresco.log is an appender inherited from the root).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Apr 2018 07:04:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/separate-log-file-for-each-amp-and-not-in-alfresco-log/m-p/42516#M17715</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2018-04-06T07:04:06Z</dc:date>
    </item>
    <item>
      <title>Re: Separate log file for each AMP and not in alfresco.log</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/separate-log-file-for-each-amp-and-not-in-alfresco-log/m-p/42517#M17716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply &lt;B&gt;Axel Faust&lt;/B&gt;‌&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried the below line in my AMP log4j.properties file but it is still putting logs in parent log file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;log4j.additivity.moduleLog=false&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Apr 2018 12:48:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/separate-log-file-for-each-amp-and-not-in-alfresco-log/m-p/42517#M17716</guid>
      <dc:creator>signjoy</dc:creator>
      <dc:date>2018-04-06T12:48:32Z</dc:date>
    </item>
    <item>
      <title>Re: Separate log file for each AMP and not in alfresco.log</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/separate-log-file-for-each-amp-and-not-in-alfresco-log/m-p/42518#M17717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You do not define the additivity for the appender, you have to define it for the logger package.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;log4j.additivity.com.abc.component=false&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, every logger in the com.abc.component package will only log to the appender you specified (moduleLog) and not propagate further up...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Apr 2018 13:14:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/separate-log-file-for-each-amp-and-not-in-alfresco-log/m-p/42518#M17717</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2018-04-06T13:14:51Z</dc:date>
    </item>
    <item>
      <title>Re: Separate log file for each AMP and not in alfresco.log</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/separate-log-file-for-each-amp-and-not-in-alfresco-log/m-p/42519#M17718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great! That worked!&lt;/P&gt;&lt;P&gt;Thanks for your time and help...!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Apr 2018 14:10:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/separate-log-file-for-each-amp-and-not-in-alfresco-log/m-p/42519#M17718</guid>
      <dc:creator>signjoy</dc:creator>
      <dc:date>2018-04-06T14:10:37Z</dc:date>
    </item>
  </channel>
</rss>

