Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
10306 Tampilan

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
Buang
Jawaban Terbai

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
Buang
Penulis

Thanks for the answer.

Post Terkait Replies Tampilan Aktivitas
1
Mar 15
5215
0
Mar 15
3266
0
Mar 15
2891
1
Mar 25
1136
1
Jul 21
3835