Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
10617 Visualizações

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
Cancelar
Melhor resposta

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

Thanks for the answer.

Publicações relacionadas Respostas Visualizações Atividade
1
mar. 15
5516
0
mar. 15
3562
0
mar. 15
3203
1
mar. 25
1522
1
jul. 21
4096