[GRASS-user] result from g.copy when layer exists

Nikos Alexandris nik at nikosalexandris.net
Fri Jul 26 06:07:11 PDT 2013


Nick wrote:

> > Since we're talking about grass errors, is there a way to redirect the
> > warnings/errors ?
> > e.g. r.mapcalc "..." 2>error.log

Hamish:

> see the GIS_ERROR_LOG file and/or environment variable. 
> http://grass.osgeo.org/grass64/manuals/variables.html#enviro
> 
> simply "touch ~/GIS_ERROR_LOG" and it will start keeping a log of
> all warnings and errors.
> 
> I am slightly suspicious that some recent changes may have broken
> that, but give it a try.

Don't forget to remove it!  I have a GIS_ERROR_LOG file, 186.6MiB dated back 
in 09. 04. 2009 :D.  It's nice to have some reference that/on what I was 
messing around with GRASS-GIS back then...

Nikos


More information about the grass-user mailing list