Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-06-2013 11:46 AM
Hello, is it possible to log debug info when running a script in Nuxeo Studio ?
Thank you,
Antoine
1 ACCEPTED ANSWER
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-14-2013 09:40 AM
Hi Antoine,
This will work:
org.apache.commons.logging.LogFactory.getLog("RunScript").debug("Something happened.");
Just make sure you added this in log4j configuration:
<category name="RunScript" additivity="true">
<priority value="DEBUG" />
</category>
You can also choose any other String than RunScript.
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-14-2013 09:40 AM
Hi Antoine,
This will work:
org.apache.commons.logging.LogFactory.getLog("RunScript").debug("Something happened.");
Just make sure you added this in log4j configuration:
<category name="RunScript" additivity="true">
<priority value="DEBUG" />
</category>
You can also choose any other String than RunScript.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-14-2013 10:01 AM
Thank you!
