On Mon, Jan 14, 2002 at 04:42:52PM +0100, Oskar Sandberg wrote:
> > The log-levels aren't really that useful (NORMAL and ERROR would
> > probably suffice)..  usually one wants to filter by Class.
> 
> Well, that is already possible with the current system. No major change
> there.
> 
> I think the levels are good if somewhat mislabeled. Remaning
> 
> ERROR  ->  CRITICAL
> NORMAL ->  IMPORTANT
> MINOR  ->  RELEVANT
> DEBUG  ->  TYPICAL
> 
> so they clearly mark the importance of the statement would probably help
> us use them correctly.

The differentiation b/t MINOR and DEBUG (or RELEVANT and TYPICAL) has
always seemed pretty arbitrary to me.  If you don't buy my two-level
logging how about three?

> > > Also, there are a lot of redundant log statements that should probably
> > > go away completely as soon as things work half decently.
> > 
> > I have been cutting down the DEBUG output and removed the stack-traces for
> > connection/auth failures.
> 
> I think what is important is that log statements never occur within
> internal loops.

Fred is no more than a collection of internal loops ;)

-tc


_______________________________________________
Devl mailing list
Devl at freenetproject.org
http://lists.freenetproject.org/mailman/listinfo/devl

Reply via email to