Help

欢迎!

该社区面向专业人士和我们产品和服务的爱好者。
分享和讨论最好的内容和新的营销理念,建立您的专业形象,一起成为更好的营销人员。


0

More Detailed Odoo Logs?

Avatar
odoo
4 Comments
Avatar
Discard
Avatar
odoo
-

Hi Altela,

Make sure that you are calling the correct path for logfile, ie, "logfile = /var/log/odoo10/odoo10-server.log". It will then automatically write the logs to this file.

Avatar
odoo
-

Make sure that you include the config file when running odoo and that the user with you're running odoo has write permissions to the log file. log_level debug will log everything.

Avatar
odoo
-

Hello Mihran,

Thank you for your feedback.

I am using Odoo version 12, and yes I can make sure that i am calling the correct path to log file in /var/log/odoo/odoo-server.log, which at configuration file (odoo-server.conf) has the same path to it.

But still, all system activity doesn't get recorded to it.

Do you have any other suggestion that i could try?

Thank you

Avatar
odoo
-

I haven't faced anything like that till now. As Tabla suggested, check the permissions of the log file and see if the Odoo user have permission to write. Also check whether logs are working fine on a fresh install.

1 Answer
0
Avatar
odoo
Best Answer

Hello Guys,
Finally i found other the alternative ways to save logging (I use ir_logging) which shows the recorded logs inside the Odoo Erp itself, not in the /var/log/odoo folder.

So previously here in /etc/odoo-server.conf i set the log_db value with True. It should be database name for saving the logs record. and then in log_level i set the value to debug so every log message will appears.
after that, i login to odoo via browser and select settings > technical > logging.

Finally, the logs will appear.

Thanks for the help of you guys. Have a nice day!

EDIT : please upvote this reply so i can get more karma and mark this as the answer for future reference.

Avatar
Discard