Adding Logging to Routing

Optional filters for scopes and writes