logging-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pascal Fonte" <pascal_fo...@hotmail.com>
Subject Re: Log4j - WellFormedXMLAppender
Date Tue, 17 Jul 2007 08:46:51 GMT

Thank you Tim,
each time a message is logged, I copy the log4j log and add the root element


>From: "Tim Down" <timdown@gmail.com>
>Reply-To: "Logging General" <general@logging.apache.org>
>To: "Logging General" <general@logging.apache.org>
>Subject: Re: Log4j - WellFormedXMLAppender
>Date: Fri, 6 Jul 2007 23:43:50 +0100
>
>A quick Google brings up this:
>
>http://mail-archives.apache.org/mod_mbox/logging-general/200406.mbox/%3C6.0.3.0.0.20040608112251.032f0008@mail.qos.ch%3E
>
>Forgive me if there have been more recent developments.
>
>Tim
>
>On 06/07/07, Pascal Fonte <pascal_fonte@hotmail.com> wrote:
>>Hi
>>The problem with a RollingFileAppender with an XMLLayout layout
>>is that the output XML file is not well formed.
>>
>><row  .... />
>><row  .... />
>><row  .... />
>>
>>instead of
>>
>><root>
>>     <row  .... />
>>     <row  .... />
>>     <row  .... />
>></root>
>>
>>Anybody knows if someone developped an appender extending
>>org.apache.log4j.RollingFileAppender
>>and outputing a well formed XML document?
>>
>>thank you in advance,
>>
>>Pascal
>>
>>
>> >From: general-help@logging.apache.org
>> >To: pascal_fonte@hotmail.com
>> >Subject: WELCOME to general@logging.apache.org
>> >Date: 6 Jul 2007 17:21:30 -0000
>> >
>> >Hi! This is the ezmlm program. I'm managing the
>> >general@logging.apache.org mailing list.
>> >
>> >Acknowledgment: I have added the address
>> >
>> >    pascal_fonte@hotmail.com
>> >
>> >to the general mailing list.
>> >
>> >Welcome to general@logging.apache.org!
>> >
>> >Please save this message so that you know the address you are
>> >subscribed under, in case you later want to unsubscribe or change your
>> >subscription address.
>> >
>> >
>> >--- Administrative commands for the general list ---
>> >
>> >I can handle administrative requests automatically. Please
>> >do not send them to the list address! Instead, send
>> >your message to the correct command address:
>> >
>> >To subscribe to the list, send a message to:
>> >    <general-subscribe@logging.apache.org>
>> >
>> >To remove your address from the list, send a message to:
>> >    <general-unsubscribe@logging.apache.org>
>> >
>> >Send mail to the following for info and FAQ for this list:
>> >    <general-info@logging.apache.org>
>> >    <general-faq@logging.apache.org>
>> >
>> >Similar addresses exist for the digest list:
>> >    <general-digest-subscribe@logging.apache.org>
>> >    <general-digest-unsubscribe@logging.apache.org>
>> >
>> >To get messages 123 through 145 (a maximum of 100 per request), mail:
>> >    <general-get.123_145@logging.apache.org>
>> >
>> >To get an index with subject and author for messages 123-456 , mail:
>> >    <general-index.123_456@logging.apache.org>
>> >
>> >They are always returned as sets of 100, max 2000 per request,
>> >so you'll actually get 100-499.
>> >
>> >To receive all messages with the same subject as message 12345,
>> >send a short message to:
>> >    <general-thread.12345@logging.apache.org>
>> >
>> >The messages do not really need to be empty, but I will ignore
>> >their content. Only the ADDRESS you send to is important.
>> >
>> >You can start a subscription for an alternate address,
>> >for example "john@host.domain", just add a hyphen and your
>> >address (with '=' instead of '@') after the command word:
>> ><general-subscribe-john=host.domain@logging.apache.org>
>> >
>> >To stop subscription for this address, mail:
>> ><general-unsubscribe-john=host.domain@logging.apache.org>
>> >
>> >In both cases, I'll send a confirmation message to that address. When
>> >you receive it, simply reply to it to complete your subscription.
>> >
>> >If despite following these instructions, you do not get the
>> >desired results, please contact my owner at
>> >general-owner@logging.apache.org. Please be patient, my owner is a
>> >lot slower than I am ;-)
>> >
>> >--- Enclosed is a copy of the request I received.
>> >
>> >Return-Path: <pascal_fonte@hotmail.com>
>> >Received: (qmail 19021 invoked by uid 99); 6 Jul 2007 17:21:30 -0000
>> >Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133)
>> >     by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Jul 2007 10:21:30
>> >-0700
>> >X-ASF-Spam-Status: No, hits=-0.0 required=10.0
>> >       tests=MSGID_FROM_MTA_HEADER,SPF_PASS
>> >X-Spam-Check-By: apache.org
>> >Received-SPF: pass (herse.apache.org: domain of pascal_fonte@hotmail.com
>> >designates 65.54.246.170 as permitted sender)
>> >Received: from [65.54.246.170] (HELO bay0-omc2-s34.bay0.hotmail.com)
>> >(65.54.246.170)
>> >     by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Jul 2007 10:21:23
>> >-0700
>> >Received: from hotmail.com ([64.4.56.45]) by 
>>bay0-omc2-s34.bay0.hotmail.com
>> >with Microsoft SMTPSVC(6.0.3790.2668);
>> >        Fri, 6 Jul 2007 10:21:03 -0700
>> >Received: from mail pickup service by hotmail.com with Microsoft 
>>SMTPSVC;
>> >        Fri, 6 Jul 2007 10:21:03 -0700
>> >Message-ID: <BAY101-F35039C93B0C0372C38448DEA010@phx.gbl>
>> >Received: from 64.4.56.244 by by101fd.bay101.hotmail.msn.com with HTTP;
>> >       Fri, 06 Jul 2007 17:21:00 GMT
>> >X-Originating-IP: [195.6.25.117]
>> >X-Originating-Email: [pascal_fonte@hotmail.com]
>> >X-Sender: pascal_fonte@hotmail.com
>> >In-Reply-To: <1183742326.13453.ezmlm@logging.apache.org>
>> >From: "Pascal Fonte" <pascal_fonte@hotmail.com>
>> >To:
>> >general-sc.1183742326.jonjenidlgfkdmgkgpif-pascal_fonte=hotmail.com@logging.apache.org
>> >Subject: RE: confirm subscribe to general@logging.apache.org
>> >Date: Fri, 06 Jul 2007 19:21:00 +0200
>> >Mime-Version: 1.0
>> >Content-Type: text/plain; charset=iso-8859-1; format=flowed
>> >X-OriginalArrivalTime: 06 Jul 2007 17:21:03.0025 (UTC)
>> >FILETIME=[0762BA10:01C7BFF2]
>> >X-Virus-Checked: Checked by ClamAV on apache.org
>> >
>> >
>> >
>> >
>> > >From: general-help@logging.apache.org
>> > >Reply-To:
>> > 
>> >general-sc.1183742326.jonjenidlgfkdmgkgpif-pascal_fonte=hotmail.com@logging.apache.org
>> > >To: pascal_fonte@hotmail.com
>> > >Subject: confirm subscribe to general@logging.apache.org
>> > >Date: 6 Jul 2007 17:18:46 -0000
>> > >
>> > >Hi! This is the ezmlm program. I'm managing the
>> > >general@logging.apache.org mailing list.
>> > >
>> > >To confirm that you would like
>> > >
>> > >    pascal_fonte@hotmail.com
>> > >
>> > >added to the general mailing list, please send
>> > >a short reply to this address:
>> > >
>> > >
>> > 
>> >general-sc.1183742326.jonjenidlgfkdmgkgpif-pascal_fonte=hotmail.com@logging.apache.org
>> > >
>> > >Usually, this happens when you just hit the "reply" button.
>> > >If this does not work, simply copy the address and paste it into
>> > >the "To:" field of a new message.
>> > >
>> > >This confirmation serves two purposes. First, it verifies that I am 
>>able
>> > >to get mail through to you. Second, it protects you in case someone
>> > >forges a subscription request in your name.
>> > >
>> > >Some mail programs are broken and cannot handle long addresses. If you
>> > >cannot reply to this request, instead send a message to
>> > ><general-request@logging.apache.org> and put the
>> > >entire address listed above into the "Subject:" line.
>> > >
>> > >
>> > >--- Administrative commands for the general list ---
>> > >
>> > >I can handle administrative requests automatically. Please
>> > >do not send them to the list address! Instead, send
>> > >your message to the correct command address:
>> > >
>> > >To subscribe to the list, send a message to:
>> > >    <general-subscribe@logging.apache.org>
>> > >
>> > >To remove your address from the list, send a message to:
>> > >    <general-unsubscribe@logging.apache.org>
>> > >
>> > >Send mail to the following for info and FAQ for this list:
>> > >    <general-info@logging.apache.org>
>> > >    <general-faq@logging.apache.org>
>> > >
>> > >Similar addresses exist for the digest list:
>> > >    <general-digest-subscribe@logging.apache.org>
>> > >    <general-digest-unsubscribe@logging.apache.org>
>> > >
>> > >To get messages 123 through 145 (a maximum of 100 per request), mail:
>> > >    <general-get.123_145@logging.apache.org>
>> > >
>> > >To get an index with subject and author for messages 123-456 , mail:
>> > >    <general-index.123_456@logging.apache.org>
>> > >
>> > >They are always returned as sets of 100, max 2000 per request,
>> > >so you'll actually get 100-499.
>> > >
>> > >To receive all messages with the same subject as message 12345,
>> > >send a short message to:
>> > >    <general-thread.12345@logging.apache.org>
>> > >
>> > >The messages do not really need to be empty, but I will ignore
>> > >their content. Only the ADDRESS you send to is important.
>> > >
>> > >You can start a subscription for an alternate address,
>> > >for example "john@host.domain", just add a hyphen and your
>> > >address (with '=' instead of '@') after the command word:
>> > ><general-subscribe-john=host.domain@logging.apache.org>
>> > >
>> > >To stop subscription for this address, mail:
>> > ><general-unsubscribe-john=host.domain@logging.apache.org>
>> > >
>> > >In both cases, I'll send a confirmation message to that address. When
>> > >you receive it, simply reply to it to complete your subscription.
>> > >
>> > >If despite following these instructions, you do not get the
>> > >desired results, please contact my owner at
>> > >general-owner@logging.apache.org. Please be patient, my owner is a
>> > >lot slower than I am ;-)
>> > >
>> > >--- Enclosed is a copy of the request I received.
>> > >
>> > >Return-Path: <pascal_fonte@hotmail.com>
>> > >Received: (qmail 13445 invoked by uid 99); 6 Jul 2007 17:18:46 -0000
>> > >Received: from herse.apache.org (HELO herse.apache.org) 
>>(140.211.11.133)
>> > >     by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Jul 2007 
>>10:18:46
>> > >-0700
>> > >X-ASF-Spam-Status: No, hits=1.0 required=10.0
>> > >     tests=ASF_LIST_SUB_UNSUB,MSGID_FROM_MTA_HEADER,SPF_PASS
>> > >X-Spam-Check-By: apache.org
>> > >Received-SPF: pass (herse.apache.org: domain of 
>>pascal_fonte@hotmail.com
>> > >designates 65.54.246.231 as permitted sender)
>> > >Received: from [65.54.246.231] (HELO bay0-omc3-s31.bay0.hotmail.com)
>> > >(65.54.246.231)
>> > >     by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Jul 2007 
>>10:18:39
>> > >-0700
>> > >Received: from hotmail.com ([64.4.56.40]) by
>> >bay0-omc3-s31.bay0.hotmail.com
>> > >with Microsoft SMTPSVC(6.0.3790.2668);
>> > >      Fri, 6 Jul 2007 10:18:19 -0700
>> > >Received: from mail pickup service by hotmail.com with Microsoft 
>>SMTPSVC;
>> > >      Fri, 6 Jul 2007 10:18:18 -0700
>> > >Message-ID: <BAY101-F30422C2DECB1B1B62421CAEA010@phx.gbl>
>> > >Received: from 64.4.56.244 by by101fd.bay101.hotmail.msn.com with 
>>HTTP;
>> > >     Fri, 06 Jul 2007 17:18:14 GMT
>> > >X-Originating-IP: [195.6.25.117]
>> > >X-Originating-Email: [pascal_fonte@hotmail.com]
>> > >X-Sender: pascal_fonte@hotmail.com
>> > >From: "Pascal Fonte" <pascal_fonte@hotmail.com>
>> > >To: general-subscribe@logging.apache.org
>> > >Subject: Hi, I would like to join the logging mailing list :)
>> > >Date: Fri, 06 Jul 2007 19:18:14 +0200
>> > >Mime-Version: 1.0
>> > >Content-Type: text/plain; charset=iso-8859-1; format=flowed
>> > >X-OriginalArrivalTime: 06 Jul 2007 17:18:18.0530 (UTC)
>> > >FILETIME=[A556C820:01C7BFF1]
>> > >X-Virus-Checked: Checked by ClamAV on apache.org
>> > >
>> > >Hi, I would like to join the logging mailing list :)
>> > >
>> > >_________________________________________________________________
>> > >Avec Windows Live OneCare éliminez tous les virus de votre PC !
>> > >http://www.windowslive.fr/liveonecare/default.asp
>> > >
>> >
>> >_________________________________________________________________
>> >Personnalisez votre Messenger avec Live.com
>> >http://www.windowslive.fr/livecom/
>> >
>>
>>_________________________________________________________________
>>Gagnez des écrans plats avec Live.com http://www.image-addict.fr/
>>
>>

_________________________________________________________________
Personnalisez votre Messenger avec Live.com 
http://www.windowslive.fr/livecom/


Mime
View raw message