Setup log_file in odoo config file

2016年8月4日21:55:30 发表评论 1,429 views

1、build file name via the dictionary: /var/log/openerp/openerp-server.log

2、run the command to issue the file via write:  chown odoo  /var/log/openerp/openerp-server.log

3、edit the odoo configuration file at:  /etc/odoo/openerp-server.conf, add the following line to define the path route of the log file.

logfile=/var/log/odoo/openerp-server.log
log_handler=["[':INFO']"]
log_level=info

4、after this restart the odoo service via "systemctl restart odoo", the odoo error log file will start record the odoo system action and diary.

 

  • 我的微信
  • 这是我的微信扫一扫
  • weinxin
  • 我的微信公众号
  • 我的微信公众号扫一扫
  • weinxin
0 0 投票数
文章评分
订阅评论
提醒
guest
0 评论
内联反馈
查看所有评论