跳至内容
菜单
此问题已终结
1 回复
9970 查看

My local odoo instance doesn't show any console output on pycharm, I tested the print() statement in odoo-bin and it shows, but odoo doesn't print any output unless I stated inside a function with the print() method

I might be missing something in odoo.conf

形象
丢弃

Kiran has correctly answered the question. You have an option between sending output to stdout (your screen) or to a logfile. While debugging it's often best to keep it running to console then switch it to logfile for production.

最佳答案

Hi,

  • Goto odoo.conf 

  • Comment logfile 

if there is log file in your odoo.conf  , Odoo creates a logfile in the path you specified and all the log note will be saved in that file .


Hope it Helps ,
Kiran K

形象
丢弃
相关帖文 回复 查看 活动
4
10月 22
90824
2
10月 22
4769
0
7月 18
8533
1
3月 15
21232
2
8月 25
190