Skip to Content
मेन्यू
This question has been flagged
1 Reply
10766 Views

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?

Avatar
Discard
Best Answer

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

Avatar
Discard
Author

Thanks for the answer.

Related Posts Replies Views Activity
1
मार्च 15
5667
0
मार्च 15
3758
0
मार्च 15
3337
1
मार्च 25
1719
1
जुल॰ 21
4234