misk icon indicating copy to clipboard operation
misk copied to clipboard

Write an optional request logging interceptor that spits out httpd-format access logs

Open mmihic opened this issue 7 years ago • 2 comments
trafficstars

Lots of tools process apache httpd2 access logs, and it's handy for debugging. Would be useful to have an interceptor that emits this log file.

mmihic avatar Feb 06 '18 23:02 mmihic

from @ryanhall07 : I don’t think the default should be log everything truncated something like log all errors (up to a rate limiter) and maybe a random sample of success requests (edited) also it should be easy to quickly enable/disable these features in real time if i’m actively debugging an issue and “error” should really be anything not ideal, like an error code or a long request eventually we’d probably want all those configs/overrides backed by feature flags

-- something like default % sample success requests, and rate limit errors, then have overrides per endpoint

jjestrel avatar Dec 12 '18 19:12 jjestrel

/cc @jmuia

mmihic avatar Feb 12 '19 18:02 mmihic