Fixed broken logging class