Adding logging to swipe