<?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: How do I enable DEBUG logging for category org.apache.catalina in the Tomcat distribution? in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/how-do-i-enable-debug-logging-for-category-org-apache-catalina/m-p/323607#M10608</link>
    <description>&lt;P&gt;Much thanks for the post! This is the exact information I was looking for.&lt;/P&gt;</description>
    <pubDate>Fri, 06 Apr 2012 18:24:36 GMT</pubDate>
    <dc:creator>ron_1</dc:creator>
    <dc:date>2012-04-06T18:24:36Z</dc:date>
    <item>
      <title>How do I enable DEBUG logging for category org.apache.catalina in the Tomcat distribution?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-do-i-enable-debug-logging-for-category-org-apache-catalina/m-p/323602#M10603</link>
      <description>&lt;P&gt;Adding the following category in $NUXEO_HOME/lib/log4j.xml does not seem to enable DEBUG logging for "org.apache.catalina" within the Tomcat Nuxeo Distribution. Does this category require special configuration?&lt;/P&gt;
&lt;CATEGORY name="org.apache.catalina"&gt;
   &lt;PRIORITY value="DEBUG"&gt;&lt;/PRIORITY&gt;
&lt;/CATEGORY&gt;</description>
      <pubDate>Thu, 29 Mar 2012 21:08:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-do-i-enable-debug-logging-for-category-org-apache-catalina/m-p/323602#M10603</guid>
      <dc:creator>ron_1</dc:creator>
      <dc:date>2012-03-29T21:08:29Z</dc:date>
    </item>
    <item>
      <title>Re: How do I enable DEBUG logging for category org.apache.catalina in the Tomcat distribution?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-do-i-enable-debug-logging-for-category-org-apache-catalina/m-p/323603#M10604</link>
      <description>&lt;P&gt;Nope, normally this enough... You just have to restart your tomcat, normally. Check that there is no other child category of org.apache.catalina into your log4j.xml.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Mar 2012 22:02:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-do-i-enable-debug-logging-for-category-org-apache-catalina/m-p/323603#M10604</guid>
      <dc:creator>Benjamin_Jalon1</dc:creator>
      <dc:date>2012-03-29T22:02:39Z</dc:date>
    </item>
    <item>
      <title>Re: How do I enable DEBUG logging for category org.apache.catalina in the Tomcat distribution?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-do-i-enable-debug-logging-for-category-org-apache-catalina/m-p/323604#M10605</link>
      <description>&lt;P&gt;I am using the standard nuxeo 5.5 tomcat-based distribution and I have no other child categories of org.apache.catalina. DEBUG priority works fine for other categories. However, DEBUG priority seems to be ignored for org.apache.catalina.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Mar 2012 15:00:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-do-i-enable-debug-logging-for-category-org-apache-catalina/m-p/323604#M10605</guid>
      <dc:creator>ron_1</dc:creator>
      <dc:date>2012-03-30T15:00:40Z</dc:date>
    </item>
    <item>
      <title>Re: How do I enable DEBUG logging for category org.apache.catalina in the Tomcat distribution?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-do-i-enable-debug-logging-for-category-org-apache-catalina/m-p/323605#M10606</link>
      <description>&lt;P&gt;Are you sure enabling org.apache.catalina debug logging via a standard $NUXEO_HOME/lib/log4j.xml modification works with a Nuxeo 5.5 Tomcat Distribution and causes these logging statements to be added to the normal nuxeo server.log? I am suspicious there might be conflicts between the logging.properties in $NUXEO_HOME/conf and the log4j.xml in $NUXEO_HOME/lib.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Mar 2012 17:12:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-do-i-enable-debug-logging-for-category-org-apache-catalina/m-p/323605#M10606</guid>
      <dc:creator>ron_1</dc:creator>
      <dc:date>2012-03-30T17:12:35Z</dc:date>
    </item>
    <item>
      <title>Re: How do I enable DEBUG logging for category org.apache.catalina in the Tomcat distribution?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-do-i-enable-debug-logging-for-category-org-apache-catalina/m-p/323606#M10607</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;$NUXEO_HOME/conf/logging.properties&lt;/CODE&gt; has no effect; you can safely remove it.&lt;/P&gt;
&lt;P&gt;The point is Tomcat uses java.util.logging whereas Nuxeo uses Log4J.&lt;/P&gt;
&lt;P&gt;Nuxeo provides a bridge for redirecting java.util.logging to Apache Commons Logging (compliant with Log4J) with a default threshold set at INFO level. You can customize it by adding into &lt;CODE&gt;nuxeo.conf&lt;/CODE&gt;:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;JAVA_OPTS=$JAVA_OPTS -Dorg.nuxeo.runtime.redirectJUL.threshold=DEBUG
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;STRONG&gt;Edit:&lt;/STRONG&gt; the right corresponding JUL value for Log4J DEBUG level is&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;JAVA_OPTS=$JAVA_OPTS -Dorg.nuxeo.runtime.redirectJUL.threshold=CONFIG
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;But that redirection is only available after Nuxeo Framework initialization whereas most of the startup logs from org.apache.catalina happen before (when the redirection is not yet active).&lt;/P&gt;
&lt;P&gt;So, if you want to see Catalina messages, you must also:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;go on &lt;A href="http://tomcat.apache.org/download-60.cgi"&gt;Tomcat 6 download page&lt;/A&gt;, then "Quick Navigation", "Browse", "bin", "extras"&lt;/LI&gt;
&lt;LI&gt;download &lt;CODE&gt;tomcat-juli-adapters.jar&lt;/CODE&gt; into &lt;CODE&gt;$NUXEO_HOME/lib/&lt;/CODE&gt;&lt;/LI&gt;
&lt;LI&gt;download &lt;CODE&gt;tomcat-juli.jar&lt;/CODE&gt; into &lt;CODE&gt;$NUXEO_HOME/bin/&lt;/CODE&gt; (replace the existing one)&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;At this point, the Log4J configuration will also apply on logs sent to java.util.logging; the category you added will work.&lt;/P&gt;
&lt;P&gt;You may be interested by &lt;A href="https://jira.nuxeo.com/browse/NXP-7014"&gt;NXP-7014&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Apr 2012 15:58:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-do-i-enable-debug-logging-for-category-org-apache-catalina/m-p/323606#M10607</guid>
      <dc:creator>Julien_Carsique</dc:creator>
      <dc:date>2012-04-06T15:58:33Z</dc:date>
    </item>
    <item>
      <title>Re: How do I enable DEBUG logging for category org.apache.catalina in the Tomcat distribution?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-do-i-enable-debug-logging-for-category-org-apache-catalina/m-p/323607#M10608</link>
      <description>&lt;P&gt;Much thanks for the post! This is the exact information I was looking for.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Apr 2012 18:24:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-do-i-enable-debug-logging-for-category-org-apache-catalina/m-p/323607#M10608</guid>
      <dc:creator>ron_1</dc:creator>
      <dc:date>2012-04-06T18:24:36Z</dc:date>
    </item>
    <item>
      <title>Re: How do I enable DEBUG logging for category org.apache.catalina in the Tomcat distribution?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-do-i-enable-debug-logging-for-category-org-apache-catalina/m-p/323608#M10609</link>
      <description>&lt;P&gt;Hello Julien, i tryed to add leading instruction in my nuxeo.conf, but server does not start, (bad level "DEBUG" error is logged). Also, if i change DEBUG with INFO server is starting up as expected.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Feb 2013 10:43:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-do-i-enable-debug-logging-for-category-org-apache-catalina/m-p/323608#M10609</guid>
      <dc:creator>Antoine_Cordier</dc:creator>
      <dc:date>2013-02-20T10:43:56Z</dc:date>
    </item>
    <item>
      <title>Re: How do I enable DEBUG logging for category org.apache.catalina in the Tomcat distribution?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-do-i-enable-debug-logging-for-category-org-apache-catalina/m-p/323609#M10610</link>
      <description>&lt;P&gt;The sample value was not good&lt;/P&gt;</description>
      <pubDate>Wed, 20 Feb 2013 18:58:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-do-i-enable-debug-logging-for-category-org-apache-catalina/m-p/323609#M10610</guid>
      <dc:creator>Julien_Carsique</dc:creator>
      <dc:date>2013-02-20T18:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: How do I enable DEBUG logging for category org.apache.catalina in the Tomcat distribution?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-do-i-enable-debug-logging-for-category-org-apache-catalina/m-p/323610#M10611</link>
      <description>&lt;P&gt;Note&lt;/P&gt;</description>
      <pubDate>Tue, 06 Aug 2013 14:22:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-do-i-enable-debug-logging-for-category-org-apache-catalina/m-p/323610#M10611</guid>
      <dc:creator>Julien_Carsique</dc:creator>
      <dc:date>2013-08-06T14:22:24Z</dc:date>
    </item>
  </channel>
</rss>

