Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
10497 Zobrazení

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
Zrušit
Nejlepší odpověď

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
Zrušit
Autor

Thanks for the answer.

Related Posts Odpovědi Zobrazení Aktivita
1
bře 15
5398
0
bře 15
3455
0
bře 15
3098
1
bře 25
1348
1
čvc 21
3987