Earlier quoted context omitted.
You should still use input validation for many other reasons besides log injection.
"You cannot use this character in your name because it trips up our logging library".
There’s a myriad of security vulnerabilities based off failing to escape special characters. Use output encoding if you need usernames to have special chars. There’s really no excuse to not sanitize input it’s a basic security principle.