add zlite-logdata.c: optimized for logdata.