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.

0

Where is the web(wekzeug) log logged into log file?

By
Shelton
on 7/4/13, 1:12 PM 1,478 views

Where is the web(wekzeug) log logged into log file? Is there a way to add username after ip address in werkzeug log?

2013-07-05 04:40:37,320 2406 INFO testdb werkzeug: 127.0.0.1 - - [05/Jul/2013 04:40:37] "GET /web/binary/image?model=res.partner&field=image_small&id=3&resize=&session_id=154525883b7042b8878077831b4e930d HTTP/1.1" 304 -

I meant where the above log is logged from openerp code?

0
hiren
On 7/5/13, 8:20 AM

This log line comes from inside werkzeug, not directly from openerp code, far as I can see. So this is werkzeug code logging to openerp's log file, as it happens to be.

0
Tech Receptives
On 7/4/13, 3:47 PM

werkzeug doesn't make any separate logging, you have to use openerp's log which can be specified while starting server with paratmeter --log-file

I've updated my question

Shelton
on 7/5/13, 2:43 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

1 follower(s)

Stats

Asked: 7/4/13, 1:12 PM
Seen: 1478 times
Last updated: 3/16/15, 8:10 AM