<?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 How to set the log4j.logger.(..)jscript=debug within the Maven SDK in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-set-the-log4j-logger-jscript-debug-within-the-maven-sdk/m-p/280302#M233432</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Working with Maven SDK inside Eclipse, used the amp archetype to create a project and use "integration-test Pamp-to-war" to test stuff.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I need to be able to see the js log output, so i need to set to "debug" the &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;log4j.logger.org.alfresco.repo.jscript&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt; in the log4j.properties file in the …\classes\ directory. I can not do it directly from the file itself since it gets rewritten everytime i run the tomcat plugin.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I suppose it is a setting inside the POM but i can not figure out how to achieve it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Any suggestions?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Dec 2013 11:44:17 GMT</pubDate>
    <dc:creator>gpeter</dc:creator>
    <dc:date>2013-12-11T11:44:17Z</dc:date>
    <item>
      <title>How to set the log4j.logger.(..)jscript=debug within the Maven SDK</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-set-the-log4j-logger-jscript-debug-within-the-maven-sdk/m-p/280302#M233432</link>
      <description>Working with Maven SDK inside Eclipse, used the amp archetype to create a project and use "integration-test Pamp-to-war" to test stuff.I need to be able to see the js log output, so i need to set to "debug" the log4j.logger.org.alfresco.repo.jscript‍ in the log4j.properties file in the …\classes\ di</description>
      <pubDate>Wed, 11 Dec 2013 11:44:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-set-the-log4j-logger-jscript-debug-within-the-maven-sdk/m-p/280302#M233432</guid>
      <dc:creator>gpeter</dc:creator>
      <dc:date>2013-12-11T11:44:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to set the log4j.logger.(..)jscript=debug within the Maven SDK</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-set-the-log4j-logger-jscript-debug-within-the-maven-sdk/m-p/280303#M233433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;i managed to find a solution, i have created a &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;srs/main/amp/ -&amp;gt; config/ -&amp;gt; log4j.properties &lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt; file that seems to override the log4j.properties of the war, so there i can set to debug all what i needed. I don't know if it is a "best practice" solution but it works: I can now see in Eclipse console the output of logger.log of my js. &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Dec 2013 11:13:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-set-the-log4j-logger-jscript-debug-within-the-maven-sdk/m-p/280303#M233433</guid>
      <dc:creator>gpeter</dc:creator>
      <dc:date>2013-12-12T11:13:29Z</dc:date>
    </item>
  </channel>
</rss>

