<?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 get logger from within a MVEL script in Nuxeo Studio ? in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-get-logger-from-within-a-mvel-script-in-nuxeo-studio/m-p/326855#M13856</link>
    <description>&lt;P&gt;Hello, is it possible to log debug info when running a script in Nuxeo Studio ?&lt;/P&gt;
&lt;P&gt;Thank you,&lt;/P&gt;
&lt;P&gt;Antoine&lt;/P&gt;</description>
    <pubDate>Wed, 06 Nov 2013 16:46:38 GMT</pubDate>
    <dc:creator>Antoine_Cordier</dc:creator>
    <dc:date>2013-11-06T16:46:38Z</dc:date>
    <item>
      <title>How to get logger from within a MVEL script in Nuxeo Studio ?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-get-logger-from-within-a-mvel-script-in-nuxeo-studio/m-p/326855#M13856</link>
      <description>&lt;P&gt;Hello, is it possible to log debug info when running a script in Nuxeo Studio ?&lt;/P&gt;
&lt;P&gt;Thank you,&lt;/P&gt;
&lt;P&gt;Antoine&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2013 16:46:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-get-logger-from-within-a-mvel-script-in-nuxeo-studio/m-p/326855#M13856</guid>
      <dc:creator>Antoine_Cordier</dc:creator>
      <dc:date>2013-11-06T16:46:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to get logger from within a MVEL script in Nuxeo Studio ?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-get-logger-from-within-a-mvel-script-in-nuxeo-studio/m-p/326856#M13857</link>
      <description>&lt;P&gt;Hi Antoine,&lt;/P&gt;
&lt;P&gt;This will work:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;org.apache.commons.logging.LogFactory.getLog("RunScript").debug("Something happened.");
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Just make sure you added this in log4j configuration:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;category name="RunScript" additivity="true"&amp;gt;
  &amp;lt;priority value="DEBUG" /&amp;gt;
&amp;lt;/category&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;You can also choose any other String than RunScript.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2013 14:40:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-get-logger-from-within-a-mvel-script-in-nuxeo-studio/m-p/326856#M13857</guid>
      <dc:creator>Laurent_Doguin</dc:creator>
      <dc:date>2013-11-14T14:40:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to get logger from within a MVEL script in Nuxeo Studio ?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-get-logger-from-within-a-mvel-script-in-nuxeo-studio/m-p/326857#M13858</link>
      <description>&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2013 15:01:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-get-logger-from-within-a-mvel-script-in-nuxeo-studio/m-p/326857#M13858</guid>
      <dc:creator>Antoine_Cordier</dc:creator>
      <dc:date>2013-11-14T15:01:10Z</dc:date>
    </item>
  </channel>
</rss>

