-
Notifications
You must be signed in to change notification settings - Fork 179
Possible Issue with logging ResponseSize caused by insufficient storage type #1291
Comments
Great question! I believe this particular call is only used in a few places where the size will be much smaller than 2 GB (such as serving a catalog response in html or xml). There are other places in the code, like here that explicitly handle larger transfers, such as |
I have found it by parsing logs from the past few years looking for primarily transactions that match That line you linked will set the 'Content-Length' header, but it leaves the The member/class that is used to report to "Request Completed" entries in the Where the thredds/tds/src/main/java/thredds/servlet/filter/RequestBracketingLogMessageFilter.java Line 55 in 11b9d63
|
Ah, thank you! I think I see now. We normally parse the Apache logs to get stats on how much data our TDS instances serve, but we should try to accurately capture that in the |
That is what we have arrived at as well, using the Apache logs. |
This function (https://github.com/Unidata/thredds/blob/v5.0.0-beta6/tds/src/main/java/thredds/servlet/filter/TdsServletResponseWrapper.java#L76) uses an
int
to set the content size of the HTTP response which later gets logged in "Request Completed" log entries inthreddsServlet.log
. My understanding is that for this reason the logs will only be able to report response sizes up to 2 GB (2^31). Let me know if I am misunderstanding something here.The text was updated successfully, but these errors were encountered: