Add logging for request debugging