Fixed logger method