Add debug mode for logged allrequests