Statistical mechanics of classical particles with logarithmic interactions