add log viewer