A numerical method for a class of Volterra integral equations with logarithmic perturbation kernel