more logviewer optimizations

Signed-off-by: Pierre Tardy <pierre.tardy@intel.com>