Fix logger definition