hgitaly issueshttps://foss.heptapod.net/heptapod/hgitaly/-/issues2023-09-24T10:41:20Zhttps://foss.heptapod.net/heptapod/hgitaly/-/issues/154Avoid logging large data2023-09-24T10:41:20ZGeorges RacinetAvoid logging large dataThe systematic interceptor that logs all incoming request was a very much needed addition, but it has the drawback of logging large request fields.
An example would be the bundle data in `FetchBundle`. This is not so bad as it sounds, b...The systematic interceptor that logs all incoming request was a very much needed addition, but it has the drawback of logging large request fields.
An example would be the bundle data in `FetchBundle`. This is not so bad as it sounds, because very large data is typically sent
as a streaming request, and the interceptor will only log the first one. Still, 128k will be logged, for almost no purpose.
It would be better to provide a way to truncate these fields (the first bytes can be useful to detect empty or inappropriate content).