Fixed a bug that suppress log after the specified route.