some simple request and error logging