with logarithmic potential