Is there a way to log all the text output from commands in the Msys terminal to a text file when using OSGEO4W in Windows? I'm using GDAL commands and specifically wish to record any error messages that come up.
Any help much appreciated!
This has helped me get this working:
Its called redirection. I have used
to redirect the error messages to a text file.
I also found that using
in my ogr calls helped to give more verbose messages in the log file.