added a viewer for log