콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
4 답글
4478 화면

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: 127.0.0.1 - - [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.

베스트 답변

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

아바타
취소
베스트 답변

Set WERKZEUG logging to a different level than INFO.

log_handler = werkzeug:CRITICAL
아바타
취소
베스트 답변

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


e.g.

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

아바타
취소
관련 게시물 답글 화면 활동
0
3월 25
1177
0
1월 25
3239
1
8월 23
14510
change password 해결 완료
1
8월 23
13192
1
7월 23
10195