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.
Actually, when I run this command in my Ubuntu terminal :
clear; /home/odoo/openerp-server --debug -c /etc/odoo/openerp-server.conf --database=officielle --db_user=odoo --db_password=jkjkj
All the debugging info is well written in my file /var/log/odoo/odoo-server.log. Good!
But I would want also to have this debuggind info it the terminal where I run the command... It stays empty!
Use the I/O indirection and tee (see the explanation from http://stackoverflow.com/questions/418896/how-to-redirect-output-to-a-file-and-stdout and other pages). Run your OpenERP from command line without any logfile switch, not even in the configuration file (comment it out with #). This way it will output the log to stdout. Add 2>&1 | tee /var/log/odoo/odoo-server.log after the command to write it to the log file as well. The 2>&1 part will also redirect stderr to stdout.
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 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: 12/15/14, 9:50 AM|
|Seen: 3383 times|
|Last updated: 3/16/15, 8:10 AM|