logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ramadoss Chinnakuzhandai" <ramadoss.chinnakuzhan...@wipro.com>
Subject AsyncAppender with JMSAppender
Date Wed, 09 Apr 2003 13:52:23 GMT

       I wanted to ask you guys in my application I had to use
AsyncAppender to support asynchronicity of logging for that I attached
FileAppender and JMSAppender to AsyncAppender JMSAppneder is not
actually dispatching to JMSQ while FileAppender is working fine..

Any clue ???

-----Original Message-----
From: Shapira, Yoav [mailto:Yoav.Shapira@mpi.com] 
Sent: Wednesday, April 09, 2003 7:04 PM
To: Log4J Users List
Subject: RE: Priority.getAllPossiblePriorities() bug reported yet?

I couldn't find such a bug in Bugzilla, so feel free to enter it if you
want ;)  (Of course, even I did find something you could still feel free
to enter another ;))

However, I would point out the method javadoc says it will return an
array of Level objects.  So I disagree with your interpretation of the
bug.  A possible fix might be Priority[] getAllPossiblePriorities() {
  Return new Level[] {Level.FATAL, ...};

And regardless, I would caution you not to rely on this method as I
doubt it'll be around in log4j 1.3.

Yoav Shapira
Millennium ChemInformatics

>-----Original Message-----
>From: DJohnson@desknetinc.com [mailto:DJohnson@desknetinc.com]
>Sent: Wednesday, April 09, 2003 9:12 AM
>To: log4j-user@jakarta.apache.org
>Subject: Priority.getAllPossiblePriorities() bug reported yet?
>I just discovered that Priority.getAllPossiblePriorities() in 1.2.8 is
>only deprecated, but broken.  A quick search in bugzilla gave me
>but I don't have enough faith in my skills there to be sure...  Before
>enter this in bugzilla, has anyone else already reported it?  The bug
>using Level.WARN instead of Priority.WARN, as you can see below.
>  Priority[] getAllPossiblePriorities() {
>    return new Priority[] {Priority.FATAL, Priority.ERROR, Level.WARN,
>                           Priority.INFO, Priority.DEBUG};
>  }
>David S. Johnson
>DeskNet Inc.
>66 Pearl Street, Suite 300
>Portland, ME  04101
>Phone:  207-772-1484 x13
> Harness the Power of Your Content

This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential,
proprietary and/or privileged.  This e-mail is intended only for the
individual(s) to whom it is addressed, and may not be saved, copied,
printed, disclosed or used by anyone else.  If you are not the(an)
intended recipient, please immediately delete this e-mail from your
computer system and notify the sender.  Thank you.

To unsubscribe, e-mail: log4j-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-user-help@jakarta.apache.org


Information contained in this E-MAIL being proprietary to Wipro Limited is 
'privileged' and 'confidential' and intended for use only by the individual
 or entity to which it is addressed. You are notified that any use, copying 
or dissemination of the information contained in the E-MAIL in any manner 
whatsoever is strictly prohibited.


To unsubscribe, e-mail: log4j-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-user-help@jakarta.apache.org

View raw message