跳至內容
選單
此問題已被標幟
1 回覆
10588 瀏覽次數

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
3月 15
5474
0
3月 15
3528
0
3月 15
3182
1
3月 25
1436
1
7月 21
4044