start to implement logviewer