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?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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.
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng kýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
|
1
thg 3 15
|
5470 | ||
|
0
thg 3 15
|
3527 | ||
|
0
thg 3 15
|
3181 | ||
|
1
thg 3 25
|
1433 | ||
|
1
thg 7 21
|
4041 |