added datalogging
fixed warning in dldevicemotionlog