Added log for getting characteristic.