Adding Logging to Routing

this is duplicated