RE: Where has LogFactor5 gone?

2004-01-06 Thread Paul Smith
> Thanks for the reply. I downloaded and started looking at chainsaw2 this > morning and started to get the feeling the LF5 was now part of it. > Thanks for confirming that. LF5 is very popular, we would be negligent in not trying to cater for features that people use. If we missed anything, pleas

RE: Where has LogFactor5 gone?

2004-01-06 Thread Olli Blackburn
Thanks for the reply. I downloaded and started looking at chainsaw2 this morning and started to get the feeling the LF5 was now part of it. Thanks for confirming that. The new chainsaw does look good and seemed stable in my usage this morning - well done (I did note a few areas that need a little

RE: Where has LogFactor5 gone?

2004-01-06 Thread Paul Smith
On Wed, 2004-01-07 at 08:02, Shapira, Yoav wrote: > Howdy, > Perhaps we could replace the top chainsaw screenshot with one that is > readable, i.e. higher resolution? ;) It is actually hi res, just the image tag width/height has scaled it down causing distortion. If I left it natural size it woul

RE: Exclude a class from a particular appender.....

2004-01-06 Thread Daniel J Mauer
Hi, Did you look into creating a custom filter? I have only played around with them a little bit, but chapter 6 of Ceki Gulcu's "Complete Log4J Manual" covers them. To work you will need to be able to identify the class the LoggingEvent is coming from. If each class has its own logger, you cou

RE: Where has LogFactor5 gone?

2004-01-06 Thread Shapira, Yoav
Howdy, Perhaps we could replace the top chainsaw screenshot with one that is readable, i.e. higher resolution? ;) Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Paul Smith [mailto:[EMAIL PROTECTED] >Sent: Tuesday, January 06, 2004 4:02 PM >To: Log4J Users List >Subje

Re: Where has LogFactor5 gone?

2004-01-06 Thread Paul Smith
Not sure if anyone has replied to this one.. LF5 is no longer being actively developed. You might want to consider Chainsaw v2, which is the effective replacement and enhancement of both the original Chainsaw, and LF5, and will be included and supported with log4j1.3, but is production usable righ

RE: suppressing messages

2004-01-06 Thread Shapira, Yoav
Howdy, The OnlyOnceErrorHandler doesn't do what the original poster wanted at all. Thanks anyways, Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Robert Augustyn [mailto:[EMAIL PROTECTED] >Sent: Tuesday, January 06, 2004 3:12 PM >To: 'Log4J Users List' >Subject: RE:

RE: Exclude a class from a particular appender.....

2004-01-06 Thread Tom Drake
You've got the same category defined twice. That is going to be a problem. Also, try adding an child element to set additivity as follows: This should cause all messages logged at INFO (and above) to be logged only via the SCHE

RE: Exclude a class from a particular appender.....

2004-01-06 Thread Pitre, Russell
Ok. I took a look at log4j.xml and I didn't find an example of I'm trying to dohere's my log4j.xml file...if you take a look at the "Userdefined Categories" you'll notice where I'm using the additivity="false" value to eliminate logs being sent to the console. Well, that's what I'm try

RE: suppressing messages

2004-01-06 Thread Tom Drake
ErrorHandlers are about handling errors from within Appenders. I think the question on the table has to do with a Filter for LoggingEvents. Luckily, log4j provides a base class for Filters, and a way to configure them. I'm not aware of one that does what is being asked, however, it doesn't sound li

RE: suppressing messages

2004-01-06 Thread Robert Augustyn
Well it looks like jboss is using OnlyOnceErrorHandler http://logging.apache.org/log4j/docs/api/index.html robert -Original Message- From: Robert Augustyn [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 06, 2004 2:52 PM To: 'Log4J Users List' Subject: RE: suppressing messages Look into

RE: suppressing messages

2004-01-06 Thread Shapira, Yoav
Howdy, I don't care enough to research myself -- I just wondered if you had a direct reference, a specific class or method. I guess not, and that's alright. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Robert Augustyn [mailto:[EMAIL PROTECTED] >Sent: Tuesday, Janu

RE: suppressing messages

2004-01-06 Thread Robert Augustyn
Look into jboss-common-client package. Best place would be to ask on jboss.org. robert -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 06, 2004 2:42 PM To: Log4J Users List Subject: RE: suppressing messages Howdy, Really? Can you give a specific

RE: suppressing messages

2004-01-06 Thread Shapira, Yoav
Howdy, Really? Can you give a specific place in their code where they're doing this? Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Robert Augustyn [mailto:[EMAIL PROTECTED] >Sent: Tuesday, January 06, 2004 2:31 PM >To: 'Log4J Users List' >Subject: RE: suppressing m

RE: suppressing messages

2004-01-06 Thread Robert Augustyn
Jboss implemented this you may want to look at that. Robert -Original Message- From: Raziel Steinmetz [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 06, 2004 12:02 PM To: [EMAIL PROTECTED] Subject: suppressing messages Hello, Is there a way to suppress logging messages ? for example

RE: Exclude a class from a particular appender.....

2004-01-06 Thread Robert Augustyn
Pitre, Look into an log4j.xml in conf of the jboss. It has examples of what you need. robert -Original Message- From: Tom Drake [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 06, 2004 2:10 PM To: 'Log4J Users List' Subject: RE: Exclude a class from a particular appender. I assume

RE: Exclude a class from a particular appender.....

2004-01-06 Thread Tom Drake
I assume that your Root logger is set to use the CONSOLE appender. That being the case, you can set the 'additive' parameter of your com.shawmut.portal.scheduler logger to false. This way, any messages logged to this logger will NOT be sent to it's parent logger (e.g. Root/CONSOLE) as well.

RE: suppressing messages

2004-01-06 Thread Raziel Steinmetz
Thanks Yoav, I was afraid that this will be the answer. While I agree with you that a logging facility shouldn't drop any messages - but I do believe that specific appenders should have this capabilities (such as SMTPAppender). It's almost like when you are changing the logging level from DEBUG

RE: suppressing messages

2004-01-06 Thread Shapira, Yoav
Howdy, You could write a TriggeringEventEvaluator that keeps a history of logging events and consults it when deciding whether to pass or fail the current event. I'm not aware of other methods currently built-in to log4j, because this request is against the spirit of logging, which is no dropped

suppressing messages

2004-01-06 Thread Raziel Steinmetz
Hello, Is there a way to suppress logging messages ? for example I setup an SMTP Appender to email me any error and fatal messages but sometimes the same error can occur a few times per second and jam my mail box. I'm looking for a way to set log4j to only send me the first message and then wait X

Exclude a class from a particular appender.....

2004-01-06 Thread Pitre, Russell
Hello All- I'm using Jboss 3.2 and I'm trying to figure out how to exclude a certain class from the console appender. I have two appender's; a console appender for ALL my classes and another appender for a specific package of classes. This package provides scheduling capabilities from my app

Re: Problems with DOMConfigurator and WebLogic 6.1 SP4

2004-01-06 Thread anguyen
Tried 1.2.8, and I still get the exact same error. Andy Nguyen [EMAIL PROTECTED] on 01/06/2004 09:55:39 AM Please respond to "Log4J Users List" <[EMAIL PROTECTED]> To:"Log4J Users List" <[EMAIL PROTECTED]> cc: Subject:Re: Problems with DOMConfigurator and WebLogic 6.1 SP4 Thanks

RE: Problems with DOMConfigurator and WebLogic 6.1 SP4

2004-01-06 Thread Olli Blackburn
Try file:///home/anguyen/applications/myapp/WEB-INF/classes/log4j.xml Olli > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 06, 2004 6:58 AM > To: Log4J Users List > Subject: RE: Problems with DOMConfigurator and WebLogic 6.1 SP4 > > >

RE: Problems with DOMConfigurator and WebLogic 6.1 SP4

2004-01-06 Thread anguyen
I don't think that's the case. According to the console output, log4j is picking up the correct XML config file: "log4j: Using URL [file:/home/anguyen/applications/myapp//WEB-INF/classes/log4j.xml] for automatic log4j configuration." That message is in the console output when I use -Dlog4j.debu

Re: Problems with DOMConfigurator and WebLogic 6.1 SP4

2004-01-06 Thread anguyen
Thanks, I'll give it a shot. Andy Nguyen Ceki Gülcü <[EMAIL PROTECTED]> on 01/05/2004 05:27:43 PM Please respond to "Log4J Users List" <[EMAIL PROTECTED]> To:"Log4J Users List" <[EMAIL PROTECTED]> cc: Subject:Re: Problems with DOMConfigurator and WebLogic 6.1 SP4 First check if u