تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
6127 أدوات العرض

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
أبريل 23
34317
5
ديسمبر 22
29498
20
فبراير 21
103077
0
مارس 15
4845
1
مارس 15
5024