Reversed logic on data logging