Enabling additional logging for Analyze reports can be useful to gather the queries that Analyze runs against the BDNA_PUBLISH database. These queries can then be run against the BDNA_PUBLISH database directly.
The steps below allow the additional logging to be enabled:
- On the User Console install machine open File Explorer and go to "C:\Program Files\BDNA\User Console\Tools\Tomcat\webapps\bdna\WEB-INF\classes" or the equivalent location if your installation is not on the C drive.
- Open the 'Log4j2.xml 'in Notepad ++ or any other editor
- Scroll to the bottom of the page and uncomment out the following section by removing the <!-- & -->
<appender name="SQLLOG" class="org.apache.log4j.RollingFileAppender">
<param name="File" value="C:/Program Files/BDNA/User Console/Logs/mondrian_sql.log" />
<param name="Append" value="false" />
<param name="MaxFileSize" value="500KB" />
<param name="MaxBackupIndex" value="1" />
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%d %-5p [%c] %m%n" />
</layout>
</appender>
<category name="mondrian.sql">
<priority value="DEBUG" />
<appender-ref ref="SQLLOG" />
</category> - Now restart the Data Platform User Console service for the changes to take affect.
- Once restarted reopen the User Console and create a simple report and wait for the results to populate.
- Now in File Explorer go to 'C:\Program Files\BDNA\User Console\log' you should see a new log called 'mondrian_sql'
- Scroll to the bottom of the log file to find the latest sql query that was run. You can then take this query to run on database directly.
If you do not see the 'mondrian_sql' log in the logs folder try restarting your machine and try again. After you have gathered the necessary sql queries you may want to comment out the above code in step 3 to disable the additional logging. The log file may grow quiet large over time so you may want to disable the option again or manually clear the 'mondrian_sql' log out now and again.
Was this helpful?
Related Articles
Enable debug level logging for Flexera Kubernetes Inventory Agent 41Number of Views Enable debug logging for the FlexNet Manager for Engineering Applications Agent 18Number of Views Clean old data from Analyze Reports 5Number of Views Enable logging for a running SVM Daemon 8Number of Views Enable Verbose Logging in App Portal 7Number of Views
Revenera Assistant
Online
Hi, I am Reva - Ask me anything.
Updates
No new updates
Chat
Home
Updates
/**/
Thanks for the feedback!
Your feedback has been saved.Rate this response:
1
2
3
4
5
Add Additional feedback ( Optional )
0/240
English
English
Language changed successfully
Something went wrong
Email sent successfully
Something went wrong
Case create successfully
Are you sure you want to cancel
the case creation?
Please select a product to submit the case.
Please select a product version to submit the case.
0/255
Upload Attachment
File Upload
Maximum file
size allowed is 3 MB.
File type
not supported.
Supported file types:
Documents (.txt, .doc, .docx, .pdf), Images (.jpg, .png), Comma Separated Files
(.csv) Speadsheets (.xlsx, .xls)
Are you sure you want to cancel the case creation?
Case closed successfully
File Upload
Maximum file size allowed is 3 MB.
File type not supported.
Supported file types:
Documents (.txt, .doc, .docx, .pdf), Images (.jpg, .png), Comma Separated Files
(.csv) Speadsheets (.xlsx, .xls)
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
File Upload
Maximum file
size allowed is 3 MB.
File type
not supported.
Supported file types:
Documents (.txt, .doc, .docx, .pdf), Images (.jpg, .png), Comma Separated Files
(.csv) Speadsheets (.xlsx, .xls)
© 2026 Flexera Software. All Rights Reserved.
Case id: 00001065
Activity: Status change: 2 hours ago