Hi Patrick, On Nov 25, 2009, at 8:38 , Patrick Ohly wrote:
> [...] we now instantiate one engine for logging, > destruct it, then construct the final engine. > > The resulting log is okay, but not perfect. It contains the <html><head> > "<body><h2>Start of log - Synthesis SyncML Engine 3.3.0.0</h2>" preamble > twice. The indention of the second engine is two deep. > > I thought HTML logs were kind of appendable? Basically they should be appendable, yes - the question however is why the first log is not properly closed in terms of <ul> etc. > Would it be possible to not write the header when the log file is in append > mode and not empty? Probably, but that would cause wrong indentation when the first bit of the log is actually properly closed. Lukas Zeller ([email protected]) - Synthesis AG, SyncML Solutions & Sustainable Software Concepts [email protected], http://www.synthesis.ch _______________________________________________ os-libsynthesis mailing list [email protected] http://lists.synthesis.ch/mailman/listinfo/os-libsynthesis
