Missing unreal.log Statements when running python from dos command prompt

I am running a python automation script using the following command

“C:\Program Files\Epic Games\UE_4.23\Engine\Binaries\Win64\UE4Editor.exe” C:\Work\GVSC\ImportTextures\ImportTextures.uproject -stdout -ExecutePythonScript=“C:\Work\Ford_GVSC\Repo\adastooldevelopment\AutomatedMeshImporter\createMeshes.py C:\Work\GVSC\ImportTextures\Content”

After adding the -stdout when I run this command from dos I can see the normal log messages when unreal boots up. However, when my createMeshes.py runs I have unreal.log and print statements that will never appear in my dos command window? Are these log messages treated different where they can only display in the unreal editor if I was to run the python script from the unreal editor? I have searched and haven’t found anyone else with this same issue.

1 Like