catch elapsed time in log