Update the log while the viewer is opened