Curt Arnold wrote:
Writing an XML document doesn't mesh well with logging. One of the
essentials is that there is only one top level element and to do that
would either require rewriting the entire document or being able to
truncate the document and write a log element before the close tag for
the one and only element. Java doesn't have support for positioning
and rewriting would be unacceptable.
I understand. Going in this direction is not a good thing for any
logging framework it seems. Log messages should be be self contained and
use open ended formates (like text files, database rows etc). If you
want HTML reports or even RSS feeds for specific categories that should
be outside the scope of the actual logging process.
Because of this reason I also prefer that the LoggerLayoutHtml should be
removed since it breaks with this approach.
Knut