Fix syntax error in log view