Optional request logging