Odoo Help

Welcome!

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.

3

How do I disable or separate the web (werkzeug) logs?

By
Yusuf
on 4/30/13, 9:14 AM 2,885 views

In OpenERP 6 we could specify a different file for logging Web access and errors.

In OpenERP 7 this is all in one file and I cannot disable the Web logs, which is very unpractical for me.

How can I disable or at least separate the web logs?

It would be a blessing to also send openerp.service.cron entries elsewhere.

mike
on 4/30/13, 2:55 PM
1
Mariano Ruiz
On 5/2/13, 7:17 PM

This work for me, but I cannot publish the link because my "Karma" is low, check in the search of Launchpad OpenERP Server Answers page this: "log_handler settings in the configuration", the first answers/response is the solution.

Thanks for the help Mariano, that did it for me; for others needing the solution, the link to the Launchpad answer is https://answers.launchpad.net/openobject-server/+question/194030 . The quick solution is to use the variable without the square brackets([]) and quotes, e.g, a correct configuration is log_handler = werkzeug:CRITICAL,openerp.netsvc.rpc.response:DEBUG.

Yusuf
on 5/8/13, 9:36 AM

Thanks for this config file setting. The equivalent command line option does not work, --log-handler=werkz... gives "ValueError: too many values to unpack"

Rick Leir
on 9/20/13, 5:38 PM

Have you tried putting the options with quotes when using command line?

Yusuf
on 9/24/13, 5:20 PM

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)

Stats

Asked: 4/30/13, 9:14 AM
Seen: 2885 times
Last updated: 3/16/15, 8:10 AM