Added logging for EMG data