add compact data logging 2