- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-18-2012 12:44 PM
Is there a debug flag to activate tracing of executed NXQL queries? I'd like to see the queries with resolved parameters.
In case the params variables don't contain the expected values, the query can return empty result without any errors. These errors aren't easy to spot and analyse.
I was wondering how to trace resulting NXQL queries after EL resolution.
Any idea? Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-18-2012 12:49 PM
Hi,
You can find the log4j xml configuration here: nuxeo/lib
Add these lines, and it should traced all nxql queries:
<category name="org.nuxeo.ecm.platform.query">
<priority value="TRACE" />
</category>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-18-2012 12:49 PM
Hi,
You can find the log4j xml configuration here: nuxeo/lib
Add these lines, and it should traced all nxql queries:
<category name="org.nuxeo.ecm.platform.query">
<priority value="TRACE" />
</category>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-21-2012 11:12 AM
Thanks for the fast response!
