Merge "liblog: logprint, error return and truncated data" am: 07169227e1
am: f7f0b53aec

Change-Id: I3cf6ba292a61cb68b9fa822120217ad99141bc82