Skip to Content
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
10008 Представления

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.

Related Posts Ответы Просмотры Активность
1
мар. 15
5065
0
мар. 15
3136
0
мар. 15
2744
1
мар. 25
847
1
июл. 21
3700