Log file and request handler.