testdevice : improve logs