Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
in a system that use the combination of WSGI and Apache2 to run Odoo8, we want to setup correctly those standard Odoo configuration features.
We add those rows into the openerp-wsgi.py
conf['logfile'] = '/var/log/odoo/odoo-server.log'
conf['log_level'] = 'info'
conf['logrotate'] = True
conf['log_handler'] = [':INFO']
Then we restart Apache2.
Odoo run but we cannot see any write activity into the /var/log/odoo/odoo-server.log defined above plus the logrotate not seems to be work.
This is the other extract of the virtual host that will trigger the WSGI script:
WSGIScriptAlias / /var/www/html/openerp-wsgi.py
WSGIDaemonProcess oe user=odoo group=odoo processes=2 python-path=/opt/odoo/odoo-server/ display-name=apache-openerp
CustomLog /var/log/odoo/odoo-access.log combined
Have someone know how to setup the above features in the apache2 - WSGI environment?
Have we miss something related to the configuration of the script or the Apache2 Virtual Host?
Thanks in advance.
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 3/3/16, 5:57 AM|
|Seen: 497 times|
|Last updated: 3/3/16, 6:12 AM|