Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
9562 Lượt xem

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

Ảnh đại diện
Huỷ bỏ

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.

Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
4
thg 10 22
89765
2
thg 10 22
4438
0
thg 7 18
8223
1
thg 3 15
20910
1
thg 6 25
104