Adding Logging to Routing

fix spacing