Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
10480 Widoki

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?

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Autor

Thanks for the answer.

Powiązane posty Odpowiedzi Widoki Czynność
1
mar 15
5379
0
mar 15
3442
0
mar 15
3087
1
mar 25
1335
1
lip 21
3977