getting response time and using log file