Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
10593 Visualizzazioni

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
Abbandona
Risposta migliore

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
Abbandona
Autore

Thanks for the answer.

Post correlati Risposte Visualizzazioni Attività
1
mar 15
5477
0
mar 15
3528
0
mar 15
3182
1
mar 25
1439
1
lug 21
4051