On Thu, 2009-07-02 at 05:03 -0700, Lukas Zeller wrote:
> On Jul 2, 2009, at 9:43 , Patrick Ohly wrote:
> 
> >> Does <appendtoexisting> work for HTML?
> >
> > ... in particular considering that HTML and XML need opening and  
> > closing
> > tags. The instance which starts an empty log could write the preamble,
> > but who writes the end?
> 
> The TDebugLoggerBase object handles all this. The new  
> <logsessionstoglobal> which makes one logger use another for output  
> using outputVia() makes sure that the preamble is not written in the  
> middle of the global log.

I gave this a try. I found that message dumping doesn't pick up the
right path from the linked logger; an additional indirection via
fOutputLoggerP is needed.

I also tried re-initializing the engine with a second call to
InitEngineXML(). This worked well, too, after disabling the check in the
engine which makes datastore configs obligatory.

I merged the Synthesis master and my own changes into the Moblin master.
Lukas, if you agree with them, please merge back. Thanks a lot for
introducing the much cleaner solution. It's a bit as in the Linux
kernel: propose a crappy solution and someone will come up with
something better. Some use this as a strategy to get things implemented;
this wasn't my intention here ;-)

The changes in SyncEvolution are a bit more intrusive (also include
redirecting of stderr into the log). I'll ask someone from the team to
double-check this and then might start using it in the next
SyncEvolution snapshot.

-- 
Best Regards

Patrick Ohly
Senior Software Engineer

Intel GmbH
Open Source Technology Center               
Hermuelheimer Strasse 8a                  Phone: +49-2232-2090-30
50321 Bruehl                              Fax: +49-2232-2090-29
Germany


_______________________________________________
os-libsynthesis mailing list
[email protected]
http://lists.synthesis.ch/mailman/listinfo/os-libsynthesis

Reply via email to