Adding Logging to Routing

var