跳至內容
選單
此問題已被標幟
1 回覆
9951 瀏覽次數

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
90808
2
10月 22
4749
0
7月 18
8509
1
3月 15
21223
2
8月 25
146