Skip to Content
Menú
This question has been flagged
1 Respondre
10774 Vistes

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
Descartar
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
Descartar
Autor

Thanks for the answer.

Related Posts Respostes Vistes Activitat
1
de març 15
5673
0
de març 15
3761
0
de març 15
3341
1
de març 25
1725
1
de jul. 21
4234