Commit graph

6 commits

Author SHA1 Message Date
Bond-009 a455e580be
Use static methods StopWatch where it makes sense (#8898) 2022-12-14 22:03:26 +01:00
Bond_009 b2ce70987c Change log level for slow HTTP responses from WRN TO DBG
The added log level check is there because Request.GetDisplayUrl() is a
pretty expensive call, creating a StringBuilder and string which doesn't
need to happen on most installs where debug logging is disabled
2022-11-30 22:11:47 +01:00
Cody Robibero 758b16691f Merge pull request #7913 from cvium/fix_response_logging
(cherry picked from commit 42aaea3556)
Signed-off-by: crobibero <cody@robibe.ro>
2022-06-14 19:32:09 -04:00
Bond_009 5726535a26 Fix some warnings
609 left
2021-11-09 13:14:31 +01:00
cvium 7576824cee Standardize use of IsLocal and RemoteIp 2020-09-10 14:16:41 +02:00
David 262e19b691 Add X-Response-Time-ms header and log slow server response time 2020-07-14 13:40:18 +02:00