added ability to selectively set which data points to log