I’m doing some local timing of some network code, and I’m using
WEBrick::HTTPProxyServer to mock out the actual network access to reduce
some of the variability.
What I’d like to do is stop the access logging from happening. That is,
I don’t want the access logs to fill up stdout or stderr, because
they’re used in my code and I want its output to stay clean. I also
don’t want the logs going to a string or array in memory, because it’ll
fill up and make everything swap endlessly. Ideally, I want the access
logging to just not happen, and I just can’t see how to do that.