flickr / yakbak

Record and playback HTTP responses
MIT License
1.06k stars 84 forks source link

add more/better logging to help ease debugging #31

Open stephenmathieson opened 7 years ago

stephenmathieson commented 7 years ago

I'm currently debugging some tests that fail intermittently. The tests hit yakbak for each request and only sometimes have a matching tape. it'd be extremely useful if setting DEBUG=yakbak* when running my test suite would output more than this:

  yakbak:server req +0ms /some/path?with=some&query=strings

would you take a PR that adds a few more debug()s for things like:

jeremyruppel commented 7 years ago

Absolutely, I'm all for more helpful debug logs. Send a PR over and I'll ship it as soon as possible.