add logger for router