added logging for pebble