debug switch to turn on/off logging of requests.