User identification when making request

Is there anyway we can determine which user hit the request and configure it to see in the logs?