Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
9956 Näkymät

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

Avatar
Hylkää

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.

Paras vastaus

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

Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
4
lokak. 22
90811
2
lokak. 22
4752
0
heinäk. 18
8512
1
maalisk. 15
21226
2
elok. 25
156