When I vi /var/log/postgresql/postgresql-9.5-main.log, There are only SQL queries that I typed in postgresql console.
How do I view all the SQL query that Odoo produces?
When I vi /var/log/postgresql/postgresql-9.5-main.log, There are only SQL queries that I typed in postgresql console.
How do I view all the SQL query that Odoo produces?
Hey Eric Lee,
One way you can see sql queries by adding parameter (In Shell / Terminal) while running a odoo server is,
--log-level debug_sql
This will start odoo server in sql debug mode and you can check every query and sql movements.
Hope this will server your purpose !
Thanks,
Dipak
Thanks for the answer.
Создайте аккаунт сегодня, чтобы получить доступ к эксклюзивным функциям и стать частью нашего замечательного сообщества!
Регистрация| Похожие посты | Ответы | Просмотры | Активность | |
|---|---|---|---|---|
|
1
мар. 15
|
7710 | |||
|
0
мар. 15
|
5800 | |||
|
0
мар. 15
|
5159 | |||
|
1
мар. 25
|
4276 | |||
|
1
июл. 21
|
5748 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.