Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
6242 Vizualizări

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?

Imagine profil
Abandonează
Cel mai bun răspuns

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

Imagine profil
Abandonează
Autor

I've updated my question

Cel mai bun răspuns

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.

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
10
apr. 23
34429
5
dec. 22
29570
20
feb. 21
103273
0
mar. 15
4942
1
mar. 15
5110