Save queries to log

Your software
My Mautic version is: 3.3.4
My PHP version is: 7.3
My Database type and version is: Maria DB

Your problem
My problem is:

I wonder is it possible to temporarily save all the queries to log file. I would like to compare some queires because off scenario n production environment, To avoid importing/exporting pretty big database I would like to know if its possible to configure mautic in a way that it saves the queries in the log file. So I can get someting similar I get from symfony web profiler during development.

Thank you.

These errors are showing in the log:

Steps I have tried to fix the problem:

  • I have tried to mingle with configuration but all I managed to achive is change the log level.