javamelody/grails-melody-plugin

Multiple datasource (default and quartz) logs quartz sql only

Opened this issue · 2 comments

Grails: 3.3.8
Grails Melody Plugin: 1.72.0

Having two data sources defined in application.yml I see only quartz (not the default one) sql queries in monitoring console. Interestingly enough on localhost it shows also alter table for default data source (not in production).

I've checked GrailsMelodyPluginGrailsPlugin and it seems that default data source is picked.

When I upgrade this plugin to 1.74.0, sql logs disappear at all.

Am I missing something here?

Hi @kuceram, could you please provide sample application with quartz ds? We can then add to the integration test suite and make sure that we fix this and include regression test.

Can you try with latest version? I believe your main datasource will be wrapper.