added logging to ibeacon_scanner