Added logging to route