Fix log fn reference