Logging misbehaviour on windows?

I’m doing this:

retroarch_debug.exe --menu --verbose --log-file log.txt 2>&1

It creates a log file with this inside.

But nothing about the core problems I can read in the command prompt in the background.

Got a core spamming:

RetroArch [INFO] :: Environ SET_GEOMETRY.

another:

RetroArch [INFO] :: Environ SET_MESSAGE: Uncorrectable data at sector 3890
RetroArch [libretro ERROR] :: Uncorrectable data at sector 3890
CC Error: 03 11 05

Nothing about that in the log. Core Logging Level is 0 (Debug).