How to redirect the output of a salome python script to a file on Windows

I am running salome python scripts on Windows like this

.\run_salome.bat -t script_file.py

Is it possible to redirect the output of the script to a log file, for example something like this

.\run_salome.bat -t script_file.py > file.log