Fix textLogger