This question has been flagged
1 Reply
1674 Views

Dear all,

I am using Odoo v12 and everytime I start my development server I can see several lines with the messages like:

2019-07-03 10:11:21,011 11856 INFO dbname werkzeug: 127.0.0.1 - - [03/Jul/2019 10:11:21] "GET /web/image?model=&field=image1&id=2782&unique= HTTP/1.1" 304 - 17 0.016 0.049
 2019-07-03 10:11:21,011 11856 INFO dbname werkzeug: 127.0.0.1 - - [03/Jul/2019 10:11:21] "GET /web/image?model=&field=image1&id=2783&unique= HTTP/1.1" 304 - 15 0.011 0.049
 2019-07-03 10:11:21,028 11856 INFO dbname werkzeug: 127.0.0.1 - - [03/Jul/2019 10:11:21] "GET /web/image?model=&field=image1&id=2463&unique= HTTP/1.1" 304 - 6 0.008 0.058
 2019-07-03 10:11:21,038 11856 INFO dbname werkzeug: 127.0.0.1 - - [03/Jul/2019 10:11:21] "GET /web/image?model=&field=image1&id=2558&unique= HTTP/1.1" 304 - 15 0.016 0.067
 2019-07-03 10:11:21,041 11856 INFO dbname werkzeug: 127.0.0.1 - - [03/Jul/2019 10:11:21] "GET /web/image?model=&field=image1&id=2559&unique= HTTP/1.1" 304 - 15 0.016 0.067
 2019-07-03 10:11:21,316 11856 INFO dbname werkzeug: 127.0.0.1 - - [03/Jul/2019 10:11:21] "GET /web/image?model=mymodule.model&field=image1&id=2456&unique= HTTP/1.1" 304 - 6 0.000 0.001

That's about 20 lines with this type of image.

Can anyone tell me what are this messages related to?

Thank you all in advance

Best regards

Paulo


Avatar
Discard
Best Answer

It is the controller to receive binary from a database to show an image. For example, a product picture, user avatars, or a company logo.

It is totally fine to have such logs unless you do not want to show certain pics in your custom module. Standard pics are usually optimized in size (e.g. partner image in kanban is small-sized, what doesn't decrease performance significantly).

Avatar
Discard
Author

Thank you @Odoo Tools,

Great. I was able to confirm and I can see that the messages are shown only on every window where there are some images like kanban views of form views with pictures.

Thank you once again

Best regards

Paulo