Added log prefix features. Fixed handling of "0" values in data1.