[osgeo4w-dev] How to log Osgeo4W shell stdout into a txt file?

Rahkonen Jukka Jukka.Rahkonen at mmmtike.fi
Thu Oct 18 03:08:02 PDT 2012


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ä: osgeo4w-dev-bounces at lists.osgeo.org [mailto:osgeo4w-dev-
> bounces at lists.osgeo.org] Puolesta Pietro Rossin
> Lähetetty: 18. lokakuuta 2012 13:03
> Vastaanottaja: osgeo4w-dev at lists.osgeo.org
> 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
> osgeo4w-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/osgeo4w-dev


More information about the osgeo4w-dev mailing list