تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
10574 أدوات العرض

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?

الصورة الرمزية
إهمال
أفضل إجابة

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

الصورة الرمزية
إهمال
الكاتب

Thanks for the answer.

المنشورات ذات الصلة الردود أدوات العرض النشاط
1
مارس 15
5469
0
مارس 15
3527
0
مارس 15
3181
1
مارس 25
1430
1
يوليو 21
4036