Fix syntax for log viewer