[GRASS-dev] env variable: GRASS_DEBUG_LEVEL

Dear devs,

reading the manual of G_debug, I found miss leading the documentation:

"Print debugging message if environment variable GRASS_DEBUG_LEVEL is
set to level equal or greater" [0]

So I try to set the environment variable with:

export GRASS_DEBUG_LEVEL=5

but it didn't work. Is It a bug?

Vaclav, tell me that I have to use: "g.gisenv set=DEBUG=0" instead.
Maybe we should improve the documentation string to make it more
clear. What do you think?

Best regards

Pietro

On 9 November 2013 17:34, Pietro Zambelli <peter.zamb@gmail.com> wrote:

Dear devs,

ciao Pietro,

reading the manual of G_debug, I found miss leading the documentation:

"Print debugging message if environment variable GRASS_DEBUG_LEVEL is
set to level equal or greater" [0]

So I try to set the environment variable with:

export GRASS_DEBUG_LEVEL=5

but it didn't work. Is It a bug?

I think no

Vaclav, tell me that I have to use: "g.gisenv set=DEBUG=0" instead.
Maybe we should improve the documentation string to make it more
clear. What do you think?

+1 for more documentantion in the doce
There is somenthing here http://grass.osgeo.org/grass70/manuals/variables.html

Best regards

Pietro

--
ciao
Luca

http://gis.cri.fmach.it/delucchi/
www.lucadelu.org