mirror of
https://github.com/plankanban/planka.git
synced 2026-07-16 05:53:57 +03:00
[Bug]: how to show sql queries #594
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @gpt8763 on GitHub (Oct 28, 2024).
Where is the problem occurring?
None
What browsers are you seeing the problem on?
No response
Current behaviour
i try to many way as follow ,but can't print sql
Desired behaviour
i want planka print sql where it is runing
Steps to reproduce
how to show sql queries. i try to many way as follow ,but can't print sql
SAILS_LOG_SQL=1 node app.js
process.env.SAILS_LOG_SQL = 1;
set debug level in sails.config.log
Other information
No response
@meltyshev commented on GitHub (Oct 28, 2024):
Hi! This can be done with
DEBUG=query, though I've only tested it in development mode.@gpt8763 commented on GitHub (Oct 29, 2024):
I added DEBUG=query to the server's .env file, but I still don't see the sql log in the DEBUGGER CONSOLE
@meltyshev commented on GitHub (Oct 31, 2024):
Hm, that's strange. I just checked by adding
DEBUG=queryto the.envfile and also tried it in the production environment withdocker-compose.yml, it works for me - every database query is logged to the console.