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.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 3/3/16, 5:57 AM|
|Seen: 255 times|
|Last updated: 3/3/16, 6:12 AM|