Odoo Help


1 回答

Yenthe Van Ginneken ベルギー

--Yenthe Van Ginneken--
| 10 9 12
Turnhout, ベルギー
--Yenthe Van Ginneken--

Yenthe Van Ginneken ベルギー
2014/11/07 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 コメント
Guillaume Seran フランス
2014/11/07 11:19

Thank you !!

Oocademy, Yenthe Van Ginneken ベルギー
2014/11/09 5:47

No problem, best of luck!

Keep Informed
0 フォロワー
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