Logger adjusted for 1.7.