[osgeo4w-dev] How to log Osgeo4W shell stdout into a txt file?
pierigis at gmail.com
Mon Oct 22 05:05:06 PDT 2012
I'm in osgeo4w shell in a python session.
I'm executing a python script with the command
Is there some way to log all possible errors given by this command?
The script batch import dxf data to a postgis enabled database.
May be sometimes some file is not well recognized and many messages are
reported to the osgeo command window.
If I write
execfile('myscript.py') 2>c:\mylogfile.txt python gives me an error because
it doesn't recognize the command..
View this message in context: http://osgeo-org.1560.n6.nabble.com/How-to-log-Osgeo4W-shell-stdout-into-a-txt-file-tp5009568p5010237.html
Sent from the osgeo4w-dev -- OSGeo Win32 Installer List mailing list archive at Nabble.com.
More information about the osgeo4w-dev