macOS briefly falls back to console after login A few days ago, my 2018 MacBook Air entered console mode after logging in:

and then switches back to graphical mode (full video here).
I didn't install any system updates. I didn't see anything in the system logs. Console output shows nothing relevant (AFAIK).
Also, after this issue appeared, macOS asks me to allow incoming network connections for emlog.pl.
Any idea how to debug this issue? I've already tried to reset NVRAM, PRAM and SMC.
It seems like you have filevault enabled. You also have verbose mode enabled.
Because of this macOS needs to finish booting into the decrypted drive and it shows verbose output.  To avoid this disable filevault or verbose mode. That should fix the problem.
To disable filevault go to system preferences-&gt;security-&gt;FileVault and disable it there. If you want to disable verbose mode then I think you need to change back boot-args by running sudo nvram -d boot-args.