use system debug setting and log with correct level.
log only the first 1000 characters of json response. can be several megabytes
Merge pull request #3 from tamland/logspam

Logspam