Fix log viewer