Thermostated Hamiltonian dynamics with log oscillators.