[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: [RFC 6/6] Generation of log files



Hi Peter and all,

On Sat, 2009-01-17 at 07:37 +0000, Peter TB Brett wrote:
> On Saturday 17 January 2009 02:43:44 Steve Meier wrote:
> > hmmm, isn't problem info being logged. I would agree if during the
> > current run the logfile only included warnings.
> 
> 99+% of the time, the log doesn't contain anything other than a 
> copywrite/no-warranty notice and a list of files loaded.
> 
> > how about if at the end of execution that if there was a problem of some
> > class detected that the user be asked if the  log file should be
> > retained?
> 
> How about if something goes wrong, the user could re-run with logging enabled?
> 
> I guess another alternative is that we could make the default logging 
> destination:
> 
>        $HOME/.gEDA/logs/
> 
> And just have a single gschem.log, gnetlist.log, etc.
> 
>                                 Peter
> 
> 

There could be some issues with multiple gschem sessions.

<example>

I have several schematics in a project and open them in one gschem
session.

I add some symbols from a project symbol directory, modify these by
adding some pins, update the instances in the schematics, print the
schematics a couple of times, and so on.

I then check my email box, find an email containing a nice Gantt chart,
open that one in a new gschem session, and maybe even print this one as
well.

</example>

If logging all this gschem activity was put into a single log file it
would probably look like a xchat log file from an irc session, or even
worse.

This could be solved with a log file for each gschem session
(Nlogs/Nsessions = 1).

The log file would have to be human readable and maybe state date, time,
directory name, the schematic file name, and all this to be followed
with the event to be logged.

Then there is the choice for appending or prepending log entries in the
log file.

And maybe NFS and security issues have to be looked into.

One thing should remain: errors should be reported in a popup dialog so
they can be noticed and acted upon immediately.

Question: why do we log the copyright/warranty notice ?

Kind regards,

Bert Timmerman.
> 
> _______________________________________________
> geda-user mailing list
> geda-user@xxxxxxxxxxxxxx
> http://www.seul.org/cgi-bin/mailman/listinfo/geda-user




_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user