Odoo Help


This community 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.


How do I run v8 via the command-line and see the log output to the console?

John Baldwin
on 7/23/14, 4:29 PM 3,303 views

I setup my odoo using this script:

My question is:
Using an ssh terminal, I want to launch the openerp-server and watch the activity as I install modules and develop a new module. If I:

sudo service odoo-server stop

sudo su odoo

python /opt/odoo/odoo-server/openerp-server --addons=/opt/odoo/odoo-server/addons

I can see server running, but my config file is ignored. The master password becomes admin again and the addons path /opt/odoo/custom/addons can not be added to the cammand because the server says it is not recognized. If I run

python /opt/odoo/odoo-server/openerp-server -c /etc/odoo-server.conf

My terminal advances to the next line and then nothing happens until I control+C to stop... If the server is running I can not view output.

I had this all working in a v7 install but I'm lost at the moment, so any help would be greatly appreciated.



What are the contents of your odoo-server.conf file?

Bista Solutions US, Ray Carnes
on 7/23/14, 9:23 PM

Try using -s option to save used configuration by the server.

Ben Bernard
on 7/23/14, 9:31 PM


| 5 4 6
Zagreb | Karlovac, Croatia

there is only 10 kind of people the ones that understand binary ... and others

On 7/25/14, 2:50 AM

you can start server with python /opt/odoo/odoo-server/openerp-server -c /etc/odoo-server.conf

and if your odoo-server.conf contains instructions for writing to logifle you can watch your log with:
tail -f /var/log/odoo/odoo-server.log  (or any other valid logfile) 
for options of logging other than debug refer to this guide wich is for v7, but most options are still valid.

Different part is the
for v7 : log_handler = [':INFO', ...]  (as a python list)
and for v8 (git version) should be:
log_handler = :ALL,:DEBUG,openerp.orm:DEBUG,werkzeug:DEBUG
(just separated with comma, no brackets!)

Thank you.

John Baldwin
on 8/16/14, 5:51 AM

Your Answer

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

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

3 follower(s)


Asked: 7/23/14, 4:29 PM
Seen: 3303 times
Last updated: 3/16/15, 8:10 AM