Odoo Ajuda


1 Resposta

Yenthe Van Ginneken Bélgica

--Yenthe Van Ginneken--
| 10 9 12
Turnhout, Bélgica
--Yenthe Van Ginneken--

Yenthe Van Ginneken Bélgica
07/11/14 10:54

So you want to write in to the log file from Python when something executes?

You can simply use the default logging module from Python for this, you only need to import logging in your Python file.
A detailed example can be found here: 

A second way would be to use print statements to write to your stdout.
NOTE: you HAVE to start your server with the --debug parameter to show the debug logs though.

2 Comentários
Guillaume Seran França
07/11/14 11:19

Thank you !!

Oocademy, Yenthe Van Ginneken Bélgica
09/11/14 05:47

No problem, best of luck!

Faça uma Pergunta
Keep Informed
0 seguidor (es)
About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now