Record response time of application into logfile.