Added 'request' event to listen for request.log.

Closes #190
New line to start the function.