Opened on 07/10/2015 at 02:24:20 PM

Last modified on 12/21/2017 at 11:29:03 AM

#2767 new change

Log the size of the response body

Reported by: Kirill Assignee: matze
Priority: P3 Milestone:
Module: Infrastructure Keywords: serverlogs, nginx
Cc: fhd, fred Blocked By: #2769, #2770
Blocking: Platform: Unknown / Cross platform
Ready: no Confidential: no
Tester: Unknown Verified working: no
Review URL(s):

Description (last modified by matze)


In the server logs we log the size of the body and the header. This makes it difficult to make an analysis on the amount of canceled downloads e.g.
If we would also log the body size the estimations would be much preciser. A nice side benefit: If we log both body and body+head sizes, we could make interesting analyses, e.g. trying to recognize bots...

What to change

Add response body size to serverlogs. Change the nginx configuration accordingly.
Ensure, that the stats-processing will not be corrupted by the new logs format.


Attachments (0)

Change History (10)

comment:1 Changed on 07/10/2015 at 03:50:08 PM by matze

  • Cc matze added
  • Owner matze deleted
  • Priority changed from P2 to P3

comment:2 Changed on 07/10/2015 at 03:52:17 PM by matze

  • Blocked By 2769 added

comment:3 Changed on 07/10/2015 at 03:55:38 PM by matze

  • Blocked By 2770 added

comment:4 follow-up: Changed on 07/13/2015 at 11:56:51 AM by trev

You are consistently writing "request body" - but it seems that you really mean "response body"?

comment:5 in reply to: ↑ 4 Changed on 07/13/2015 at 11:58:50 AM by Kirill

Replying to trev:

You are consistently writing "request body" - but it seems that you really mean "response body"?

Yeah, you're right, mixed the wording, will fix it in description.

comment:6 Changed on 07/13/2015 at 11:59:47 AM by Kirill

  • Description modified (diff)
  • Summary changed from Log the size of the request body to Log the size of the response body

comment:7 Changed on 07/13/2015 at 12:46:12 PM by matze

  • Description modified (diff)

comment:8 Changed on 07/13/2015 at 12:46:39 PM by matze

  • Owner set to matze

comment:9 Changed on 07/13/2015 at 12:47:05 PM by matze

  • Cc fhd fred added; matze removed

comment:10 Changed on 12/21/2017 at 11:29:03 AM by fhd

  • Cc trev removed

Add Comment

Modify Ticket

Change Properties
as new .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from matze.
Next status will be 'reviewing'.
Note: See TracTickets for help on using tickets.