[FEATURE] log all requests if debug flag is on