Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
10163 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
91454
2
lokak. 22
4957
0
heinäk. 18
8682
1
maalisk. 15
21489
0
syysk. 25
86