Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
9981 มุมมอง

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

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
Setup log file in odoo config file แก้ไขแล้ว
4
ต.ค. 22
90897
2
ต.ค. 22
4781
0
ก.ค. 18
8545
1
มี.ค. 15
21276
1
ส.ค. 25
829