Fix syntax error in hook logging statement.