# Save queries to log

**URL:** <https://forum.mautic.org/t/save-queries-to-log/21030>\
**Category:** Product Support\
**Created:** [September 26, 2021, 9:05pm UTC](https://forum.mautic.org/t/save-queries-to-log/21030 "2021-09-26T21:05:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mzagmajster](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mzagmajster/32/687_2.png) [@mzagmajster](https://forum.mautic.org/u/mzagmajster)\
**Post date:** [September 26, 2021, 9:05pm UTC](https://forum.mautic.org/t/save-queries-to-log/21030/1 "2021-09-26T21:05:27Z")

</div>

**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.
