Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
6241 มุมมอง

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?

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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

คำตอบที่ดีที่สุด

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.

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
10
เม.ย. 23
34427
5
ธ.ค. 22
29568
How to add a custom css? แก้ไขแล้ว
20
ก.พ. 21
103262
0
มี.ค. 15
4926
1
มี.ค. 15
5106