Update bridge.cpp

Updated logging and fixed vist condition