Re: E updated with new Causeway

Kevin Reid <kpreid-M/[email protected]>
Newsgroups gmane.comp.lang.e.general
Message-ID <[email protected]>
On Dec 4, 2010, at 11:08, Thomas Leonard wrote:

> OK, I spent a couple of days looking at getting E to log in the new
> Causeway format. I've got it more-or-less working now, though the code
> is very hacky. It's on my "causeway" branch:
...
> E already had lots of causality tracing code (since it was working
> before the format changed, as I understand it). But I seem to have had
> to implement things differently, which is odd.

IIRC from when I implemented new-Causeway logging in E-on-CL, this is  
to be expected: the new format is significantly different in semantics.
>
> I originally had the PendingEvent base class log everything, but that
> generated lots of irrelevant events from VatTP (DataCommThunks being
> processed). So I moved the logging to the PendingDelivery subclass,
> which seems to work better.

Please note that all of the Pluribus implementation will eventually be  
rewritten in E. This should be handled not by clever choice of  
logging, but by being able to either selectively log or filter within  
Causeway such that only the module of interest is viewed in Causeway.

I don't have the time right now to swap in enough understanding to  
comment further.

-- 
Kevin Reid                                  <http://switchb.org/kpreid/>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.