Added timer to logging