[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re[2]: about LogListener



> TS> The Node.log() uses the Node object logger, which doesn't have your stuff
> TS> added to it.  And, the PrimordialNode.message() methods just use the
> TS> System.(out/err) stuff.
> 
> You mean I cant add a log listener to Node.logger?

no, i mean you'd have to add it there too if you wanted to get output from
the protocol/app

> I find Node.Node() is called four times in the course of node startup
> and boosting application. I wonder why there are so many times node
> initialization. I had thought there is only one node object in the
> whole process, and all others reference this object.

Protocols and applications are kept separate so each one needs their own
Node object.

> -- 
> Best regards,
>  Rui 

tim stack




[ Janos ] [ OSKit ] [ Network Testbed ] [ Flick ] [ Fluke ]
Flux Research Group / Department of Computer Science / University of Utah