Skip to main content



      Home
Home » Archived » Test and Performance Tools Platform (TPTP) » How to analyze JBOSS / log4j logfiles?
How to analyze JBOSS / log4j logfiles? [message #85581] Thu, 19 October 2006 05:47 Go to next message
Eclipse UserFriend
Originally posted by: joerg.von.frantzius.artnology.nospam.com

Hi,

using TPTP 4.2.1 I haven't found any suitable log type for importing a
log file produced by a JBOSS 4.0.3 server. Basically that's just log4j,
which is very commonly used. Is there any way of importing log4j
logfiles in TPTP?

Thanks,
Jörg
Re: How to analyze JBOSS / log4j logfiles? [message #85657 is a reply to message #85581] Fri, 20 October 2006 10:18 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: cindyjin.ca.ibm.com

H Joerg:

There is no available adapter for the log4j logs in the TPTP project.
You need to write your own adapter for it.

You can check the help document at http://help.eclipse.org Extending the
monitoring,profiling,and testing functions ->Extending the logging
function -> Creating a log Parser, for how to create your own adapter.

Hope this can help you.

Cindy

Joerg von Frantzius wrote:
> Hi,
>
> using TPTP 4.2.1 I haven't found any suitable log type for importing a
> log file produced by a JBOSS 4.0.3 server. Basically that's just log4j,
> which is very commonly used. Is there any way of importing log4j
> logfiles in TPTP?
>
> Thanks,
> Jörg
Re: How to analyze JBOSS / log4j logfiles? [message #85672 is a reply to message #85657] Fri, 20 October 2006 10:43 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: joerg.von.frantzius.artnology.nospam.com

Hi Cindy,

thanks for your answer. When I look at
http://help.eclipse.org/help32/topic/org.eclipse.tptp.platfo rm.doc.isv/tasks/textendlogging.htm
then all I see is an empty page, so I think I'll rather create an
enhancement request in the Bugzilla ;)

Regards,
Jörg

Cindy Jin schrieb:
> H Joerg:
>
> There is no available adapter for the log4j logs in the TPTP project.
> You need to write your own adapter for it.
>
> You can check the help document at http://help.eclipse.org Extending
> the monitoring,profiling,and testing functions ->Extending the logging
> function -> Creating a log Parser, for how to create your own adapter.
>
> Hope this can help you.
>
> Cindy
>
> Joerg von Frantzius wrote:
>> Hi,
>>
>> using TPTP 4.2.1 I haven't found any suitable log type for importing
>> a log file produced by a JBOSS 4.0.3 server. Basically that's just
>> log4j, which is very commonly used. Is there any way of importing
>> log4j logfiles in TPTP?
>>
>> Thanks,
>> Jörg
Re: How to analyze JBOSS / log4j logfiles? [message #85686 is a reply to message #85672] Fri, 20 October 2006 10:57 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: cindyjin.ca.ibm.com

Hi Joerg:

I checked the link you give to me. Please expend the "Extending the log
function" at the left pannel, and select the "Creating a log parser". It
is not empty.

Thanks
Cindy


Joerg von Frantzius wrote:
> Hi Cindy,
>
> thanks for your answer. When I look at
> http://help.eclipse.org/help32/topic/org.eclipse.tptp.platfo rm.doc.isv/tasks/textendlogging.htm
> then all I see is an empty page, so I think I'll rather create an
> enhancement request in the Bugzilla ;)
>
> Regards,
> Jörg
>
> Cindy Jin schrieb:
>> H Joerg:
>>
>> There is no available adapter for the log4j logs in the TPTP project.
>> You need to write your own adapter for it.
>>
>> You can check the help document at http://help.eclipse.org Extending
>> the monitoring,profiling,and testing functions ->Extending the logging
>> function -> Creating a log Parser, for how to create your own adapter.
>>
>> Hope this can help you.
>>
>> Cindy
>>
>> Joerg von Frantzius wrote:
>>> Hi,
>>>
>>> using TPTP 4.2.1 I haven't found any suitable log type for importing
>>> a log file produced by a JBOSS 4.0.3 server. Basically that's just
>>> log4j, which is very commonly used. Is there any way of importing
>>> log4j logfiles in TPTP?
>>>
>>> Thanks,
>>> Jörg
Re: How to analyze JBOSS / log4j logfiles? [message #85697 is a reply to message #85686] Fri, 20 October 2006 11:23 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: joerg.von.frantzius.artnology.nospam.com

Hi Cindy,

alright, stupid me :)

I just found an older posting in this group with subject "Re: How can I
perform logging from within a HyadesTestCase", where it is recommended
to configure a

org.eclipse.hyades.logging.log4j.LoggingAgentAppender


I guess that will write the log data somewhere in a format consumable by
the TPTP log file analysis tools?

Currently we cannot assign resources for providing such a log parser,
but I'll ask the JBOSS guys themselves about it. Just to be sure I
understand things right, providing such a thing would save us from
having to configure the above LoggingAgentAppender?

Regards,
Jörg

Cindy Jin schrieb:
> Hi Joerg:
>
> I checked the link you give to me. Please expend the "Extending the
> log function" at the left pannel, and select the "Creating a log
> parser". It is not empty.
>
> Thanks
> Cindy
>
>
> Joerg von Frantzius wrote:
>> Hi Cindy,
>>
>> thanks for your answer. When I look at
>> http://help.eclipse.org/help32/topic/org.eclipse.tptp.platfo rm.doc.isv/tasks/textendlogging.htm
>> then all I see is an empty page, so I think I'll rather create an
>> enhancement request in the Bugzilla ;)
>>
>> Regards,
>> Jörg
>>
>> Cindy Jin schrieb:
>>> H Joerg:
>>>
>>> There is no available adapter for the log4j logs in the TPTP
>>> project. You need to write your own adapter for it.
>>>
>>> You can check the help document at http://help.eclipse.org Extending
>>> the monitoring,profiling,and testing functions ->Extending the
>>> logging function -> Creating a log Parser, for how to create your
>>> own adapter.
>>>
>>> Hope this can help you.
>>>
>>> Cindy
>>>
>>> Joerg von Frantzius wrote:
>>>> Hi,
>>>>
>>>> using TPTP 4.2.1 I haven't found any suitable log type for
>>>> importing a log file produced by a JBOSS 4.0.3 server. Basically
>>>> that's just log4j, which is very commonly used. Is there any way of
>>>> importing log4j logfiles in TPTP?
>>>>
>>>> Thanks,
>>>> Jörg
Re: How to analyze JBOSS / log4j logfiles? [message #85712 is a reply to message #85697] Fri, 20 October 2006 13:30 Go to previous message
Eclipse UserFriend
Originally posted by: cindyjin.ca.ibm.com

Hi Joerg:

Yes, You can configure to use the
org.eclipse.hyades.logging.log4j.LoggingAgentAppender to view the Log4J
logs at run time in the log view. I suggest you to modify the
org.eclipse.hyades.logging.log4j.XmlLayout format() to parse the Log4J
log record to the CommonBaseEvent to contain your interested data. Right
now, it can parse the generic Log data using default format. You can
start at create a Logging4J sample project from
File->New->Example->Apache Logging4j Logging Sample to look at how to
use the LoggingAgentAppender.

Thanks
Cindy

Joerg von Frantzius wrote:
> Hi Cindy,
>
> alright, stupid me :)
>
> I just found an older posting in this group with subject "Re: How can I
> perform logging from within a HyadesTestCase", where it is recommended
> to configure a
>
> org.eclipse.hyades.logging.log4j.LoggingAgentAppender
>
>
> I guess that will write the log data somewhere in a format consumable by
> the TPTP log file analysis tools?
>
> Currently we cannot assign resources for providing such a log parser,
> but I'll ask the JBOSS guys themselves about it. Just to be sure I
> understand things right, providing such a thing would save us from
> having to configure the above LoggingAgentAppender?
>
> Regards,
> Jörg
>
> Cindy Jin schrieb:
>> Hi Joerg:
>>
>> I checked the link you give to me. Please expend the "Extending the
>> log function" at the left pannel, and select the "Creating a log
>> parser". It is not empty.
>>
>> Thanks
>> Cindy
>>
>>
>> Joerg von Frantzius wrote:
>>> Hi Cindy,
>>>
>>> thanks for your answer. When I look at
>>> http://help.eclipse.org/help32/topic/org.eclipse.tptp.platfo rm.doc.isv/tasks/textendlogging.htm
>>> then all I see is an empty page, so I think I'll rather create an
>>> enhancement request in the Bugzilla ;)
>>>
>>> Regards,
>>> Jörg
>>>
>>> Cindy Jin schrieb:
>>>> H Joerg:
>>>>
>>>> There is no available adapter for the log4j logs in the TPTP
>>>> project. You need to write your own adapter for it.
>>>>
>>>> You can check the help document at http://help.eclipse.org Extending
>>>> the monitoring,profiling,and testing functions ->Extending the
>>>> logging function -> Creating a log Parser, for how to create your
>>>> own adapter.
>>>>
>>>> Hope this can help you.
>>>>
>>>> Cindy
>>>>
>>>> Joerg von Frantzius wrote:
>>>>> Hi,
>>>>>
>>>>> using TPTP 4.2.1 I haven't found any suitable log type for
>>>>> importing a log file produced by a JBOSS 4.0.3 server. Basically
>>>>> that's just log4j, which is very commonly used. Is there any way of
>>>>> importing log4j logfiles in TPTP?
>>>>>
>>>>> Thanks,
>>>>> Jörg
Previous Topic:Zipping test asset files make them impossible to share on CVS/SVN
Next Topic:AbstractAnalysisElement.setLabel() bug?
Goto Forum:
  


Current Time: Thu May 08 17:47:58 EDT 2025

Powered by FUDForum. Page generated in 1.08351 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top