accelerometer triggered logging

starts logging wrt the accelerometer value