[GRASS5] 5.7: very verbose command output

Hello,

The output of 5.7 commands is very verbose (see example below), making it
difficult to find the requested information.

Is there a way to make this less verbose ?

Moritz

Example:

GRASS 5.7.cvs:~ > v.db.connect -p communes
D1/1: Vect_open_old(): name = communes mapset= mlennert update = 0
D1/1: Vect_set_thresh(): thresh = 0.000000
D1/1: dig_spidx_init()
D1/1: open format file: 'mlennert/vector/communes/frmt'
D1/1: Vector format: 0 (native)
D1/1: Vect__read_head(): vector = communes@mlennert
D1/1: Vect_set_thresh(): thresh = 0.000000
D1/1: Level request = 0
D1/1: Vect_open_topo(): name = communes mapset= mlennert
D1/1: get coor info:
/home/mlennert/GRASSDATA/BELGIQUE/mlennert/vector/communes/
coor
D1/1: Info->size = 13990544, Info->mtime = 1093247595
D1/1: Topo head: coor size = 13990544, coor mtime = 1083858024
D1/1: dig_load_plus()
D1/1: dig_spidx_init()
D1/1: Vect_open_spatial_index(): name = communes mapset= mlennert
D1/1: dig_spidx_init()
D1/1: dig_read_spindx()
D1/1: dig_spidx_init()
D1/1: V1_open_old_nat(): name = communes mapset = mlennert
D1/1: get coor info:
/home/mlennert/GRASSDATA/BELGIQUE/mlennert/vector/communes/
coor
D1/1: Info->size = 13990544, Info->mtime = 1093247595
D1/1: coor size in head = 13990544, real coor file size= 13990544
D1/1: Vect_open_old(): vector opened on level 2
D1/1: Vect_read_dblinks(): map = communes, mapset = mlennert
D1/1: dbln file:
/home/mlennert/GRASSDATA/BELGIQUE/mlennert/vector/communes/dbln
D1/1: dbln: 1 communes cat $GISDBASE/$LOCATION_NAME/$MAPSET/dbf/ dbf
D1/1: field = 1 name = (null), table = communes, key = cat, database =
$GISDBASE
/$LOCATION_NAME/$MAPSET/dbf/, driver = dbf
D1/1: Dblinks read
D1/1: Vect_Rewind(): name = communes
Vector map <communes> is connected by:
D1/1: Vect_get_dblink(): link = 0
field <1> table <communes> in database
</home/mlennert/GRASSDATA/BELGIQUE/mlenne
rt/dbf/> through driver <dbf> with key <cat>
D1/1: Vect_close(): name = communes, mapset = mlennert, format = 0, level = 2
D1/1: free topology
D1/1: free spatial index
D1/1: free category index
D1/1: close history file
D1/1: V1_close_nat(): name = communes mapset= mlennert

The output of 5.7 commands is very verbose (see example below), making it
difficult to find the requested information.

Is there a way to make this less verbose ?

Moritz

Example:

GRASS 5.7.cvs:~ > v.db.connect -p communes
D1/1: Vect_open_old(): name = communes mapset= mlennert update = 0
D1/1: Vect_set_thresh(): thresh = 0.000000
D1/1: dig_spidx_init()

You have the 5.7 Debugging output turned on.
try "g.gisenv" and you should see "DEBUG=1".

g.gisenv set="DEBUG=0"
will get you back to normal.

Hamish

The output of 5.7 commands is very verbose (see example below), making
it
difficult to find the requested information.

Is there a way to make this less verbose ?

Moritz

Example:

GRASS 5.7.cvs:~ > v.db.connect -p communes
D1/1: Vect_open_old(): name = communes mapset= mlennert update = 0
D1/1: Vect_set_thresh(): thresh = 0.000000
D1/1: dig_spidx_init()

You have the 5.7 Debugging output turned on.
try "g.gisenv" and you should see "DEBUG=1".

g.gisenv set="DEBUG=0"
will get you back to normal.

Thank you Hamish, that was it. I don't remember ever touching this
variable. Is it turned on by default ? If it is, I think that it shouldn't
be since the output can be very confusing.

Moritz