Hi,
I've added a log analysis service to 3.0
this lists the amount of logging done in each category.
The service is JBOSS-SYSTEM:service=LogAnalysis.
The only useful method is analyse, besides stop of course :-).
Try running it at threshold WARN over the testsuite
and you'll see there's lots o
ecember 23, 2001 10:49 AM
Subject: [JBoss-dev] Logging Analysis
> Hi,
>
> I've added a log analysis service to 3.0
> this lists the amount of logging done in each category.
>
> The service is JBOSS-SYSTEM:service=LogAnalysis.
>
> The only useful method is analyse,
Hi,
I didn't think it got to the appender if the
category/priority is disabled? I could be wrong...
Regards,
Adrian
__
View this jboss-dev thread in the online forums:
http://jboss.org/forums/thread.jsp?forum=66&thread=6196
___
Hi,
I think I'm going to remove LogAnalysis.
I'm getting an IllegalAccessError which is something to do with the code existing in
jboss-spine.jar and jboss.jar.
It was clearly a hack anyway!
I'll give anybody who wants this analysis 24hrs notice
to run it and save the results.
I'll remove it
Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of
Adrian Brock
Sent: Saturday, December 29, 2001 3:41 PM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-dev] Logging Analysis
Hi,
I think I'm going to remove LogAnalysis.
I'm getting an IllegalAccessError which is somet
Hi,
Removed the logging analysis service.
The only part an appender doesn't give me is the
ability to see attempts to log to a disabled
category/priority.
However, it is possible to see this using a profiler,
although its not as easy.
Regards,
Adrian
___
You were not picking up all log attempts anyway as any direct
use of Category was not seen.
- Original Message -
From: "Adrian Brock" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 01, 2002 9:47 AM
Subject: Re: [JBoss-dev] Logging Analysis
Hi Scott,
Yes, System.out.println wasn't trapped :-(
Regards,
Adrian
__
View this jboss-dev thread in the online forums:
http://jboss.org/forums/thread.jsp?forum=66&thread=6196
___
Jb