跳至内容
菜单
此问题已终结
2 回复
6125 查看

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.

形象
丢弃
相关帖文 回复 查看 活动
10
4月 23
34315
5
12月 22
29497
20
2月 21
103076
0
3月 15
4844
1
3月 15
5023