In main.java alone exception handling for BadAddressException,
DiagnosticsException, and ListenException write nothing to the log but
instead send the output to StdErr.  On JVMs that do not work correctly
these error messages are simply lost even with today's patch.  Making
these errors always goto the log prevents people who are not running
Fred as a service from seeing instantly what the problem is.

I'm not sure about what is being written while a node is running but I
think the point was more along the lines of finding out why a node isn't
starting rather than debugging messages output while it's running.  In
the users case he was getting exceptions from datastore corruption and
seeing nothing in the log but there are other reasons (as noted above)
where nothing will be put in the log (on a broke JVM) yet the node will
still not start.

-Pascal


Oskar Sandberg wrote:
> 
> That shows nothing. A lot of files contain main() methods used for
> testing and alike that contain such calls. Some are external programs
> (config.Setup, client.cli, etc) that actually use it independently of the
> node.
> 
> The real question is, what is being written to out/err when a node is
> running?
> 
> On Sun, Sep 01, 2002 at 06:23:19PM -0500, Pascal wrote:
> > Windows find shows 50 files containing system.out.print and 71
> > containing system.err.print
> >
> > -Pascal
> >
> >
> > Oskar Sandberg wrote:
> > >
> > > On Sun, Sep 01, 2002 at 04:27:41PM -0500, Pascal wrote:
> > > > There are many places in Fred where output is sent to StdErr and
> > > > StdOut.
> > >
> > > Except for cruft (which there shouldn't be any) I don't think this is
> > > true. If it is, then each case is a coding error that should be fixed.
> > >
> > > --
> > >
> > > Oskar Sandberg
> > > oskar at freenetproject.org
> > >
> > > _______________________________________________
> > > devl mailing list
> > > devl at freenetproject.org
> > > http://hawk.freenetproject.org/cgi-bin/mailman/listinfo/devl
> >
> > _______________________________________________
> > devl mailing list
> > devl at freenetproject.org
> > http://hawk.freenetproject.org/cgi-bin/mailman/listinfo/devl
> 
> --
> 
> Oskar Sandberg
> oskar at freenetproject.org
> 
> _______________________________________________
> devl mailing list
> devl at freenetproject.org
> http://hawk.freenetproject.org/cgi-bin/mailman/listinfo/devl

_______________________________________________
devl mailing list
devl at freenetproject.org
http://hawk.freenetproject.org/cgi-bin/mailman/listinfo/devl

Reply via email to