logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cscsaba <cscsaba...@gmail.com>
Subject Re: Chainsaw question
Date Wed, 10 Aug 2011 14:40:30 GMT
Ok, Scott, many thanks for your help and the quick reply.

On Wed, Aug 10, 2011 at 4:33 PM, Scott Deboy <scott.deboy@gmail.com> wrote:

> No you can't unless you remove the eventset node.
>
> You can process a regular non-XML text log file by configuring chainsaw
> with a logfilepatternreceiver. Use MESSAGE as the logformat to quickly get
> the log file in chainsaw.
>
>
>
>
> On Aug 10, 2011, at 8:27 AM, cscsaba <cscsaba242@gmail.com> wrote:
>
>  Hello Scott,
>>
>> Perhaps my weak english I could not understand what you mean by this
>> below:
>>    "I added support for eventset-wrapped events but it also requires the
>> XML declaration to be present."
>> You have already added support, so why it cannot be handled ? What do you
>> mean by "XML declaration to be present".
>>
>> Briefly, I can use Apache Chainsaw to process this kind of log or not ?
>>
>> Thanks in advance.
>>
>>
>> On Wed, Aug 10, 2011 at 4:15 PM, Scott Deboy <scott.deboy@gmail.com>
>> wrote:
>>
>>  The code that parses XML formatted events expects event nodes only. No
>>> eventset.
>>>
>>> I added support for eventset-wrapped events but it also requires the XML
>>> declaration to be present.
>>>
>>> Scott
>>>
>>>
>>>
>>> On Aug 10, 2011, at 7:32 AM, cscsaba <cscsaba242@gmail.com> wrote:
>>>
>>> Hello,
>>>
>>>>
>>>> I hope I dont disturb this mailing list but webpage of Apache Chainsaw
>>>> directed me here (http://logging.apache.org/****
>>>> chainsaw/mail-lists.html<http://logging.apache.org/**chainsaw/mail-lists.html>
>>>> <http:**//logging.apache.org/chainsaw/**mail-lists.html<http://logging.apache.org/chainsaw/mail-lists.html>
>>>> >
>>>>
>>>> )
>>>>
>>>> So, I would like to generate log4j xml by log4php for Chainsaw, but
>>>> Chainsaw
>>>> drops some error during the processing the log file.
>>>> *    The errors are :
>>>>     Parsing error on line 19 and column 32*
>>>> *        XML document structures must start and end within the same
>>>> entity.*
>>>>
>>>> Check this overview : http://pastebin.com/bX3A2Dmm
>>>>
>>>> My question is, what cause the parser error ? And xml starts and ends
>>>> with
>>>> the same entity <log4j:eventSet ...> </log4j:eventSet> then what
is the
>>>> real
>>>> problem ?
>>>>
>>>> Can you point at what could be wrong ?
>>>>
>>>> Thanks in advance.
>>>>
>>>> Csaba
>>>>
>>>>
>>> ------------------------------****----------------------------**
>>> --**---------
>>> To unsubscribe, e-mail: log4j-user-unsubscribe@**loggi**ng.apache.org<http://logging.apache.org>
>>> <log4j-user-**unsubscribe@logging.apache.org<log4j-user-unsubscribe@logging.apache.org>
>>> **>
>>> For additional commands, e-mail: log4j-user-help@logging.**apac**he.org<http://apache.org>
>>> <log4j-user-help@**logging.apache.org<log4j-user-help@logging.apache.org>
>>> >
>>>
>>>
>>>
> ------------------------------**------------------------------**---------
> To unsubscribe, e-mail: log4j-user-unsubscribe@**logging.apache.org<log4j-user-unsubscribe@logging.apache.org>
> For additional commands, e-mail: log4j-user-help@logging.**apache.org<log4j-user-help@logging.apache.org>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message