Is there a way to enable DB query logging to a log file?
I tried ‘–debug’, but that didn’t add SQL queries. I tried ‘debug: true’ in the database.js file, but that didn’t result in queries being logged either (I am not sure I put that statement in the right place, but Strapi didn’t complain).
Is this possible in version 3.14 or even a newer version?
in your ./config/database.js
if it does not seem to work, perhaps is not in the right place. It should bein the outer object beneath the useNullAsDefault