Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
10576 Vizualizări

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?

Imagine profil
Abandonează
Cel mai bun răspuns

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

Imagine profil
Abandonează
Autor

Thanks for the answer.

Related Posts Răspunsuri Vizualizări Activitate
1
mar. 15
5469
0
mar. 15
3527
0
mar. 15
3181
1
mar. 25
1431
1
iul. 21
4036