Write Logg in Route_calculate