Skip to Content
Menu
This question has been flagged
3779 Views

Hi,

I use nginx with odoo in same server for using https.

When I access on my website with ip address I see in log nginx :

XX.XX.XXX.XX - - [20/Sep/2016:16:09:24 +0200] "GET /r/h5Y HTTP/1.1" 301 185 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0"

In log odoo I see :

2016-09-20 14:09:24,794 24607 INFO PROD werkzeug: 127.0.0.1 - - [20/Sep/2016 14:09:24] "GET /r/h5Y HTTP/1.0" 301 -
2016-09-20 14:09:25,289 24607 INFO PROD werkzeug: 127.0.0.1 - - [20/Sep/2016 14:09:25] "GET /page/financement?& HTTP/1.0" 200 -
2016-09-20 14:09:25,348 24607 INFO PROD werkzeug: 127.0.0.1 - - [20/Sep/2016 14:09:25] "GET /web/content/1139-c45ade6/web.assets_common.0.css HTTP/1.0" 200 -
2016-09-20 14:09:25,397 24607 INFO PROD werkzeug: 127.0.0.1 - - [20/Sep/2016 14:09:25] "GET /web/content/1153-85fb4db/website.assets_frontend.1.css HTTP/1.0" 200 -
2016-09-20 14:09:25,398 24607 INFO PROD werkzeug: 127.0.0.1 - - [20/Sep/2016 14:09:25] "GET /web/content/1152-85fb4db/website.assets_frontend.0.css HTTP/1.0" 200 -
2016-09-20 14:09:25,441 24607 INFO PROD werkzeug: 127.0.0.1 - - [20/Sep/2016 14:09:25] "GET /web/content/1154-85fb4db/website.assets_frontend.js HTTP/1.0" 200 -
2016-09-20 14:09:25,452 24607 INFO PROD werkzeug: 127.0.0.1 - - [20/Sep/2016 14:09:25] "GET /web/content/1140-c45ade6/web.assets_common.js HTTP/1.0" 200 -
2016-09-20 14:09:25,645 24607 INFO PROD werkzeug: 127.0.0.1 - - [20/Sep/2016 14:09:25] "GET /logo.png HTTP/1.0" 200 -
2016-09-20 14:09:25,802 24607 INFO ? werkzeug: 127.0.0.1 - - [20/Sep/2016 14:09:25] "GET /theme_common/static/src/font/PT_Sans-Web-Regular.ttf HTTP/1.0" 200 -
2016-09-20 14:09:25,888 24607 INFO ? werkzeug: 127.0.0.1 - - [20/Sep/2016 14:09:25] "GET /theme_clean/static/src/img/backgrounds/bg_snippet_04.jpg HTTP/1.0" 200 -
2016-09-20 14:09:25,893 24607 INFO ? werkzeug: 127.0.0.1 - - [20/Sep/2016 14:09:25] "GET /theme_common/static/src/font/Ubuntu-Regular.ttf HTTP/1.0" 200 -
2016-09-20 14:09:25,900 24607 INFO ? werkzeug: 127.0.0.1 - - [20/Sep/2016 14:09:25] "GET /web/static/lib/fontawesome/fonts/fontawesome-webfont.woff2?v=4.4.0 HTTP/1.0" 200 -
2016-09-20 14:09:25,926 24607 INFO ? werkzeug: 127.0.0.1 - - [20/Sep/2016 14:09:25] "GET /website/static/src/xml/website.xml HTTP/1.0" 200 -
2016-09-20 14:09:25,999 24607 INFO ? werkzeug: 127.0.0.1 - - [20/Sep/2016 14:09:25] "GET /web/static/src/xml/base_common.xml HTTP/1.0" 200 -
2016-09-20 14:09:26,030 24607 INFO ? werkzeug: 127.0.0.1 - - [20/Sep/2016 14:09:26] "GET /website/static/src/xml/website.share.xml HTTP/1.0" 200 -
2016-09-20 14:09:26,050 24607 INFO ? werkzeug: 127.0.0.1 - - [20/Sep/2016 14:09:26] "GET /website_mail/static/src/xml/chatter_message.xml HTTP/1.0" 200 -
2016-09-20 14:09:26,126 24607 INFO PROD werkzeug: 127.0.0.1 - - [20/Sep/2016 14:09:26] "POST /website/translations HTTP/1.0"

How can I have the ip address in odoo log ?

I need this for mail_tracking addon.


Thank you,

Clement

Avatar
Discard
Related Posts Replies Views Activity
3
May 24
21460
3
May 24
14039
0
Oct 23
977
0
Oct 22
2684
1
Nov 20
3114