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

Change-Id: I18734f92e7a981b43d8fc250f4fa0a7b17f21a58