Correcting logger output text