MongoDB Query Tracker
By Nuxeo
This package adds a customized MongoDB listener to Nuxeo LTS 2023, allowing the server to track queries.
Usage
After configuring and installing the package, the logs will display automatically in the server.log file (located in the log folder) or in your prompt via nuxeoctl console.
Installation
The mongo-tracker requires installing the corresponding Nuxeo Package, a Nuxeo LTS 2023 instance, and a running MongoDB 6+.
◦ After installing the package, you must restart your Nuxeo instance with nuxeoctl restart (or nuxeoctl console to see the logs directly in your prompt).
Configuration
It is required to configure the $NUXEO_HOME/lib/log4j2.xml file by adding the following lines inside the <Loggers> container:
<Logger name="org.nuxeo.support" level="info" additivity="false">
<AppenderRef ref="FILE"/>
<AppenderRef ref="CONSOLE"/>
</Logger>