[GRASS5] [bug #1398] (grass) make variable GIS_ERROR_LOG_FILE

Request Tracker grass-bugs at intevation.de
Wed Nov 6 23:28:45 EST 2002


this bug's URL: http://intevation.de/rt/webrt?serial_num=1398
-------------------------------------------------------------------------

Subject: make variable GIS_ERROR_LOG_FILE

Platform: GNU/Linux/i386
grass obtained from: Mirror of Trento site
grass binary for platform: Compiled from Sources
GRASS Version: 5.0pre1

Markus says: If there are no answers to your question, the best is to
post it here (polished of course):

 http://grass.itc.it/bugtracking/wish.html

Markus

On Tue, Nov 05, 2002 at 08:13:32AM +0800, Dan Jacobson wrote:
> >> >> P.S. in tips_and_tricks.html: "To avoid sending error messages by
> >> >> email, generate an empty file called GIS_ERROR_LOG in your home
> >> >> directory"
> >> >> 
> >> >> Well, tell users how to use a different name if they want to, instead
> >> >> of having such a big ugly file name in their home directory. 
> >> 
> M> AFAIK you can use any filename (eg .rubbish) - untested.
> 
> M> Sorry, of course you cannot.
> 
> >> well, is there a variable involved?  how can it tell which file, etc....
> 
> M> Look here:
> M> src/libes/gis/error.c
> 
> OK:
>  *   Gives the message, msg, to the user.  Also print a message to 
>  *   $GISBASE/GIS_ERROR_LOG if the file exists and is writeable; 
>  *   and to the file $HOME in the users home directory if $HOME is set.
>             ^^^ Shouldn't it say "that file in $HOME" ?!
> 
> M> Perhaps this should be changed to a variable
> M> GIS_ERROR_LOG_FILE
> 
> M> but that's an issue for the developers ML.
> OK, I sent this there.


-------------------------------------------- Managed by Request Tracker




More information about the grass-dev mailing list