LogHandler: Fixed string corruption in the indentation