Odoo Help


[v8]Not able to debug openerp properly because a terminal command keeps coming up in between the pdb debugging session

on 10/27/15, 6:20 PM 854 views

I have put a

pdb.set_trace() at a point in my python function during Odoo development and Odoo keeps interrupting me with this message:

2015-10-27 22:13:18,404 7786 INFO db_test werkzeug: - - [27/Oct/2015 22:13:18] "POST /longpolling/poll HTTP/1.1" 200 -

GREAT question title. I knew, because this happened to me, instantly how to help you without even needing to open your question.

Ray Carnes
on 10/27/15, 7:06 PM
Andre de Kock
On 1/29/16, 5:42 AM

You could start your Odoo server with the parameter --no-xmlrpc. This will cause long-polling workers to not start and thus not log.

Example: ./odoo.py --no-xmlrpc

Documentation: \https://www.odoo.com/documentation/8.0/reference/cmdline.html


Ray Carnes

--Ray Carnes--
| 9 7 9
Keyport, United States
--Ray Carnes--

Senior ERP Analyst

OpenERP 6.1, 7.0; Odoo 8.0, 9.0, 10.0 and 11.0.

Completed Odoo Functional and Technical Training.

Functional Areas:

  • CRM/Sales

  • Inventory

  • Manufacturing

  • Accounting

  • Purchasing

Major Skills:

  • Business Process Reengineering

  • Efficiency Consulting

  • User Needs and GAP Analysis;

  • Functional and Technical Design;

  • Prototyping and Proof of Concepts;

  • Requirements Specifications;

  • Agile Implementation;

  • Data Migration;

  • Configuration & Customization (UI and code);

  • Integration - Odoo and non Odoo Applications and Services;

  • Training and Knowledge Transfer;

  • Go Live Support;

  • Helpdesk;

  • Version Upgrades and Migration.

  • Accounting Expert.

I have over 20 years of experience empowering and enabling users with enterprise information systems that make a real and measurable difference in their ability to proactively manage their businesses and organizations. 

I am a skilled Communicator and I only take the serious things seriously!

Ray Carnes
On 10/27/15, 7:05 PM

Set WERKZEUG logging to a different level than INFO.

log_handler = werkzeug:CRITICAL
Julio Serna
On 10/28/15, 3:20 PM

I solve this starting server with --logfile=log.log


./odoo.py -c YOUR_CONFIG_FILE --logfile=log.log

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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 10/27/15, 6:20 PM
Seen: 854 times
Last updated: 1/29/16, 5:42 AM