Fixed logger definition