I don't have {$APPTYPE CONSOLE} in any of my console programs
The issue is not about console programs, but gui programs.
If you want console output in a Windows GUI program, the easiest way to do that is simple add {$APPTYPE CONSOLE} instead of {$APPTYPE GUI}. It is subsequently possible to hide the console if not necessary.
The reason is, is that a GUI app on Windows does not create handles for stdin, stdout and stderr by default, while adding {$APPTYPE CONSOLE} dooes just that. It has no impact on your GUI app otherwise.
The other way is to create a console in code. NOT recommended.
All this is Windows only! On other platforms this is not necessary.