Hi, If you are on Windows I guess it would be done by redirecting "2" into a file. ogr2ogr [......] 2>your_log_file.txt
Use >> for appending to an existing file or otherwise is will be overwritten. -Jukka Rahkonen- > -----Alkuperäinen viesti----- > Lähettäjä: [email protected] [mailto:osgeo4w-dev- > [email protected]] Puolesta Pietro Rossin > Lähetetty: 18. lokakuuta 2012 13:03 > Vastaanottaja: [email protected] > Aihe: [osgeo4w-dev] How to log Osgeo4W shell stdout into a txt file? > > Hi > I'm facing a problem with osgeo4win shell command execution. > During command execution i get errors that I'll like to log into a readable > (text) file. > Is there the possibility to log the stdout of the shell? > > Which swith/command to use? > Thanks > Pietro > > > > -- > View this message in context: http://osgeo-org.1560.n6.nabble.com/How- > to-log-Osgeo4W-shell-stdout-into-a-txt-file-tp5009568.html > Sent from the osgeo4w-dev -- OSGeo Win32 Installer List mailing list archive > at Nabble.com. > _______________________________________________ > osgeo4w-dev mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/osgeo4w-dev _______________________________________________ osgeo4w-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/osgeo4w-dev
