Re: Reconnect JMSAppender after broker restart

2017-01-19 Thread Paul Mooney
On 4 January 2017 at 09:34, Paul Mooney wrote: > > > Hello, > > > > I am trying to create a logging solution using JMSAppender. The > > JMSAppender is working great and is really a great tool to have. > > The issue I have is when I restart the JMS broker, the log

Re: Reconnect JMSAppender after broker restart

2017-01-04 Thread Matt Sicker
Using ActiveMQ, you can just use the failover transport to automate this: < http://activemq.apache.org/failover-transport-reference.html>. On 4 January 2017 at 09:34, Paul Mooney wrote: > Hello, > > I am trying to create a logging solution using JMSAppender. The > JMSAppende

Reconnect JMSAppender after broker restart

2017-01-04 Thread Paul Mooney
Hello, I am trying to create a logging solution using JMSAppender. The JMSAppender is working great and is really a great tool to have. The issue I have is when I restart the JMS broker, the logger fails to reconnect to the broker. Is there somthing I am missing that can have the logger

Re: JMSAppender

2016-04-02 Thread Gary Gregory
Weird, I see "Unable to inject fields into builder" in our sources but there should be an exception in the log too. Are you using the latest version? Gary On Thu, Mar 24, 2016 at 8:10 AM, Mike Tod wrote: > Has anyone been able to get the JMSAppender working on Log4j2? > >

Re: JMSAppender

2016-04-02 Thread Gary Gregory
You could look at how our unit tests work and compare to your set up. Gary On Thu, Mar 24, 2016 at 8:10 AM, Mike Tod wrote: > Has anyone been able to get the JMSAppender working on Log4j2? > > If so do you have any example config? > > Below is

JMSAppender

2016-03-24 Thread Mike Tod
Has anyone been able to get the JMSAppender working on Log4j2? If so do you have any example config? Below is my config file : %d{HH:mm:ss.SSS} %-5level %c{1.} %M:%L - %msg%xEx%n I keep

JMSappender onMessage(Message message) in MDB

2012-03-28 Thread napster5
I am using normal log4j1.2.16. What must I casts message to so that I can the log the message correctly -- View this message in context: http://old.nabble.com/JMSappender-onMessage%28Message-message%29-in-MDB-tp33544827p33544827.html Sent from the Log4j - Users mailing list archive at

RE: JMSAppender for Log4j with Qpid

2009-08-29 Thread Yogesh Rao
Can anyone help me out on this ? or atleast some pointers would be useful Thank you! From: Yogesh Rao Sent: Friday, August 28, 2009 11:09 AM To: 'log4j-user@logging.apache.org' Subject: JMSAppender for Log4j with Qpid Hi, I am trying

JMSAppender for Log4j with Qpid

2009-08-27 Thread Yogesh Rao
Hi, I am trying to use the JMSAppender provided by log4j with QPID and it seems that a timeout occurs when connecting to the broker. The method used is publish / subscribe. Following is the log4j xml defined :- http://jakarta.apache.org/log4j/";>

JMSAppender for Log4j with Qpid

2009-08-26 Thread Yogesh Rao
Hi, I am try to use the JMSAppender provided by log4j with QPID and it seems that a timeout occurs when connecting to the broker. The method used is publish / subscribe. Following is the log4j xml defined :- http://jakarta.apache.org/log4j/";>

RE: How to configure JMSAppender in JBoss?

2008-11-04 Thread Chitnis, Pooja
2008 12:11 AM To: log4j-user@logging.apache.org Subject: How to configure JMSAppender in JBoss? Hello All, I'm trying to configure JMSAppender in JBoss 4.2.3 using the built in JBoss MQ. The JBoss MQ is not up when log4j is configured causing it to error out. Here's what I've tried.

How to configure JMSAppender in JBoss?

2008-11-01 Thread Pras P.
Hello All, I'm trying to configure JMSAppender in JBoss 4.2.3 using the built in JBoss MQ. The JBoss MQ is not up when log4j is configured causing it to error out. Here's what I've tried. I modified the root jboss-log4j.xml (at server/default/conf) to enab

Re: JMSAppender failover

2008-10-29 Thread selezovikj
wrote: > > I have been using the JMSAppender successfully for over a year, and have > even written a command line aggregator server that gathers the messages > from multiple servers (and optionally forward/filters to another > aggregator) and has been working great. > > The

JMSAppender failover

2008-10-23 Thread Richard Dunn
I have been using the JMSAppender successfully for over a year, and have even written a command line aggregator server that gathers the messages from multiple servers (and optionally forward/filters to another aggregator) and has been working great. The one stumbling block I have had not been

JBoss Activemw issue while using JMSAppender

2008-10-23 Thread Chitnis, Pooja
Hi All, I am trying to use the JMSAppender I am using following appender configuration in jboss-log4j.xml But I get the exception: 18:29:15,396 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:jboss-log4j.xml

Re: Internationalization Support for JMSAppender in log4j

2008-09-18 Thread Curt Arnold
On Sep 17, 2008, at 2:00 AM, NehaG wrote: Any suggestions for this please - I am struck up with this issue. Any help will be greatly appreciated. NehaG wrote: Hello Does JMSAppender support Internationalization? As per my research, FileAppender and ConsoleAppender supports

Re: Internationalization Support for JMSAppender in log4j

2008-09-17 Thread NehaG
Any suggestions for this please - I am struck up with this issue. Any help will be greatly appreciated. NehaG wrote: > > Hello > Does JMSAppender support Internationalization? > As per my research, FileAppender and ConsoleAppender supports > internationalization throug

Internationalization Support for JMSAppender in log4j

2008-09-09 Thread NehaG
Hello Does JMSAppender support Internationalization? As per my research, FileAppender and ConsoleAppender supports internationalization through the following configuration: log4j.appender.MyAppender.Encoding=UTF-8 Is there a similar configuration possible for JMS Appender as well? because when

Re: advantages JMSAppender?

2008-02-13 Thread Richard Dunn
asynchronous logging is basically "fire and forget". asynchronous means it is not blocking on the submission of the log message. JMSAppender is definitely for real time use - you can receive the messages from the jms server with very little latency, but if there are comm

advantages JMSAppender?

2008-02-12 Thread palakolanusrinu
hi! Can any one tell me what is asynchronous logging ? What are all advantages? Where we will use JMSAppender in real time? What is the purpose of JMSAppender? Thanks in advance -- View this message in context: http://www.nabble.com/advantages-JMSAppender--tp15449191p15449191

Re: JMSAppender to ActiveMQ..:).

2007-07-03 Thread Misty Thornton
Bingo!!! Paul, thanks a lot for your help. I really appreciate it. It works as described. Now, I just have to make a few tweaks and I should be good to go...:). Thanks again for all your help. Kindest regards, Misty. On 6/29/07, Paul Smith <[EMAIL PROTECTED]> wrote: > Next I'll work out how t

Re: JMSAppender to ActiveMQ..:).

2007-06-28 Thread Paul Smith
Next I'll work out how to get Chainsaw to replace the conusmer test as the client. Success! Here's the steps. * Create a file that contains Receiver configuration for Chainsaw: http://jakarta.apache.org/log4j/"; debug="true"> I put this in /temp/jmsreceviers.

Re: JMSAppender to ActiveMQ..:).

2007-06-28 Thread Paul Smith
er -Dtopic=true -Dsubject=jmsappendertest This will sit and wait for 10 messages on the 'jmsappendertest' topic to arrive. Now run the below simplistic test case showing how using the JMSAppender can send topic messages. The consumer test above will print out the messages

Re: JMSAppender to ActiveMQ..:).

2007-06-27 Thread Paul Smith
On 28/06/2007, at 11:58 AM, Misty Thornton wrote: Paul, Thanks for introduction to a great tool. Okay, this is the situation that I am inWe have a huge application which is already using ActiveMQ and 'the powers that be' want to go the ActiveMQ route. Having said that Chainsaw seems

Re: JMSAppender to ActiveMQ..:).

2007-06-27 Thread Misty Thornton
, will let you know how it goes:). Thanks again for some very useful guidance. Regards, -Misty. On 6/27/07, Paul Smith <[EMAIL PROTECTED]> wrote: On 28/06/2007, at 11:31 AM, Misty Thornton wrote: > Paul, > > Yes, all I need is an application using JMSAppender to send log

Re: JMSAppender to ActiveMQ..:).

2007-06-27 Thread Paul Smith
On 28/06/2007, at 11:31 AM, Misty Thornton wrote: Paul, Yes, all I need is an application using JMSAppender to send log messages to a message queue and then another application which can consume these messages and make them 'viewable'. I have got the SMTPAppender part worki

Re: JMSAppender to ActiveMQ..:).

2007-06-27 Thread Misty Thornton
Paul, Yes, all I need is an application using JMSAppender to send log messages to a message queue and then another application which can consume these messages and make them 'viewable'. I have got the SMTPAppender part working, which sends my 'error' logs using email...:).

Re: JMSAppender to ActiveMQ..:).

2007-06-27 Thread Paul Smith
So, to rephrase, you really need a remote logging viewer? Something that could attach to an application and show logging events being generated by that application? Or does the consumer application you speak of need to do something different with the events? On 27/06/2007, at 8:12 PM, Mis

Re: JMSAppender to ActiveMQ..:).

2007-06-27 Thread Misty Thornton
Paul, I appreciate the clarification, I am using Netbeans as my IDE. I am basically trying to send my send my log4j messages from one application to be consumed by another application. So, I thought the best way would be to send them through a MQ to the other application so that from there I can p

Re: JMSAppender to ActiveMQ..:).

2007-06-26 Thread Paul Smith
On 27/06/2007, at 1:29 PM, Misty Thornton wrote: Paul, Thanks a lot for guiding me through this process. I have tested your Test class in a project mode and it passes the test. I just added a main (is this even the right way to test it:)) and created an instance of the Test class and it r

Re: JMSAppender to ActiveMQ..:).

2007-06-26 Thread Misty Thornton
head and test it but > please feel > free to give me any input you may have. My boss is insisting that > he needs > to see the messages stored somewhere..:). If you configure the JMSAppender with the specified topic name ala my test case example, it should work. I don't think

Re: JMSAppender to ActiveMQ..:).

2007-06-26 Thread Paul Smith
My boss is insisting that he needs to see the messages stored somewhere..:). If you configure the JMSAppender with the specified topic name ala my test case example, it should work. I don't think you will see any messages in the topic in JMX, because Topics messages are delivered

Re: JMSAppender to ActiveMQ..:).

2007-06-26 Thread Misty Thornton
Paul, I am using ActiveMQ 4.1.1. What if I use.. Destination destination = session.createTopic("CUST01.TOPIC1"); Do you think that might help? I will go ahead and test it but please feel free to give me any input you may have. My boss is insisting that he needs to see the messages stored somewhe

Re: JMSAppender to ActiveMQ..:).

2007-06-26 Thread Paul Smith
On 27/06/2007, at 9:42 AM, Misty Thornton wrote: Paul, Thanks a bunch for the response. I really appreciate it. I ran the JMSAppenderTest class and everything seemed just fine but when I am trying to find the 'topic' using my jconsole I am not finding "jmsappendertest". This might be a real

Re: JMSAppender to ActiveMQ..:).

2007-06-26 Thread Misty Thornton
ggestions as to what I might be doing wrong here or even worse, looking at the wrong place?..:). Regards, -Misty. On 6/26/07, Paul Smith <[EMAIL PROTECTED]> wrote: I wrote a test case to test the JMSAppender class using ActiveMQ, that might be a useful baseline. See the test case and jnd

Re: JMSAppender to ActiveMQ..:).

2007-06-26 Thread Paul Smith
I wrote a test case to test the JMSAppender class using ActiveMQ, that might be a useful baseline. See the test case and jndi.properties file attached to this bug: http://issues.apache.org/bugzilla/show_bug.cgi?id=38513 I was using ActiveMQ 3.2.x at the time, but it should be close to that

JMSAppender to ActiveMQ..:).

2007-06-26 Thread Misty Thornton
Hello Guru's, I am trying to use the JMSAppender to send messages to a topic in ActiveMQ environment. I have never done this before and have proceeded to this point and want to know if I am in the right direction...:). Session session = connection.createSession(false, Session.AUTO_ACKNOW

Re: Simple example for JMSAppender usage (without JNDI)

2006-09-28 Thread Henning Sprang
Hi Jacob, Thanks for the hint, On 9/27/06, Jacob Kjome <[EMAIL PROTECTED]> wrote: You should look into Spring's Mock classes. Specifically... org.springframework.mock.jndi.SimpleNamingContextBuilder I somehow didn't like the idea of adding even more complexity by using that mock object if al

Re: Simple example for JMSAppender usage (without JNDI)

2006-09-27 Thread Jacob Kjome
Quoting Henning Sprang <[EMAIL PROTECTED]>: > Hi, > I want to use the JMSAppender class in a simple environment, where we > don't have a jndi service running. Because I have not so much > knowledge about JNDI and we simply don't need it. > You should

Simple example for JMSAppender usage (without JNDI)

2006-09-27 Thread Henning Sprang
Hi, I want to use the JMSAppender class in a simple environment, where we don't have a jndi service running. Because I have not so much knowledge about JNDI and we simply don't need it. I tried a lot and searched the docs for hours now, but could not find how this can simply be ac

Re: JMSAppender problem: jms.jar is missing.

2006-03-03 Thread Eric Frizziero
al Message- From: Eric Frizziero [mailto:[EMAIL PROTECTED] Sent: Wed 3/1/2006 6:34 AM To: Log4J Users List Subject: Re: JMSAppender problem: jms.jar is missing. Hi Scott, I tried that too, but it doesn't work. Can you suggest me another solution, please? E r i c. Scott Deboy ha scritto:

Re: JMSAppender problem: jms.jar is missing.

2006-03-01 Thread Paul Smith
t: Wed 3/1/2006 6:34 AM To: Log4J Users List Subject: Re: JMSAppender problem: jms.jar is missing. Hi Scott, I tried that too, but it doesn't work. Can you suggest me another solution, please? E r i c. Scott Deboy ha scritto: You should be able to add the jar to the $user.dir/.chainsaw/ pl

RE: JMSAppender problem: jms.jar is missing.

2006-03-01 Thread Scott Deboy
006 6:34 AM To: Log4J Users List Subject: Re: JMSAppender problem: jms.jar is missing. Hi Scott, I tried that too, but it doesn't work. Can you suggest me another solution, please? E r i c. Scott Deboy ha scritto: >You should be able to add the jar to the $user.dir/.chainsaw/plug

Re: JMSAppender problem: jms.jar is missing.

2006-03-01 Thread Eric Frizziero
97201 Telephone: 503.224.7496 Cell: 503.997.1367 Fax:503.222.0185 [EMAIL PROTECTED] www.comotivsystems.com -Original Message- From: Jacob Kjome [mailto:[EMAIL PROTECTED] Sent: Tue 2/28/2006 7:43 PM To: Log4J Users List Subject: Re: JMSAppender problem: jms.j

RE: JMSAppender problem: jms.jar is missing.

2006-03-01 Thread Scott Deboy
-Original Message- From: Jacob Kjome [mailto:[EMAIL PROTECTED] Sent: Tue 2/28/2006 7:43 PM To: Log4J Users List Subject: Re: JMSAppender problem: jms.jar is missing. jms.jar is a download from Sun. You won't find it in the chainsaw distribution. However, I'm not sure the best pl

Re: JMSAppender problem: jms.jar is missing.

2006-02-28 Thread Jacob Kjome
jms.jar is a download from Sun. You won't find it in the chainsaw distribution. However, I'm not sure the best place for it? Scott, should it go in the chainsaw plugins directory or JAVA_HOME/jre/lib/ext? Jake At 10:06 AM 2/28/2006 +0100, you wrote: >Hi all, > >I'm using the "Java Web Sta

JMSAppender problem: jms.jar is missing.

2006-02-28 Thread Eric Frizziero
Hi all, I'm using the "Java Web Start" version of Chainsaw. When I start chainsaw by clicking the "Java Web Start" link , the following error is showed up in chainsaw's log panel: ** java.lang.NoClassDefFoundError: javax/jms/MessageListener at java.lang.ClassLoad

RE: Using Layouts with JMSAppender

2006-02-07 Thread CONNER, BRENDAN \(SBCSI\)
One other question: I noticed that LoggingEvent does not have a timestamp that indicates when the event was logged. I can get a timestamp from the JMS message itself. However, I was hoping that, if I used both a FileAppender and JMSAppender, I would have access to a single timestamp value that

RE: Using Layouts with JMSAppender

2006-02-07 Thread CONNER, BRENDAN \(SBCSI\)
. - Brendan -Original Message- From: Paul Smith [mailto:[EMAIL PROTECTED] Sent: Monday, February 06, 2006 7:12 PM To: Log4J Users List Subject: Re: Using Layouts with JMSAppender the layout in your log4j.properties is irrelevant to JMSAppender, since it is sending the serialized

Re: Using Layouts with JMSAppender

2006-02-06 Thread Paul Smith
the layout in your log4j.properties is irrelevant to JMSAppender, since it is sending the serialized version of the LoggingEvent. In short, your MDB won't know what the layout is unless you tell it because that information is not sent along the wire during the JMS communication.

RE: Using Layouts with JMSAppender

2006-02-06 Thread CONNER, BRENDAN \(SBCSI\)
Right, we want to use JMSAppender to store our message in the DB. But we may want to store the formatted version of the message in our database. However, are you saying that the JMSAppender does not handle calling Layout itself? So does our MDB have to have access to our log4j.properties file

Re: Using Layouts with JMSAppender

2006-02-06 Thread Paul Smith
In your MDB, just have an instance of a Layout and format it then. Otherwise you don't want to use JMSAppender. JMSAppender is about sending the binary contents of the LoggingEvent over JMS for some other reason (say, to view in a GUI, or store in a DB). Paul On 07/02/2006, at 11:

Using Layouts with JMSAppender

2006-02-06 Thread CONNER, BRENDAN \(SBCSI\)
I finally got the JMSAppender working, and I can receive the logged message using a Message Driven Bean. While working with my example, I noticed that the message that is received by the onMessage() method is an instance of ObjectMessage, which wraps an instance of LoggingEvent. My question is

Debugging JMSAppender

2006-02-06 Thread CONNER, BRENDAN \(SBCSI\)
I'm trying to get JMSAppender working in a WebSphere 6 environment. The problem I'm currently trying to resolve is to determine why I'm getting the following error on my console: [2/6/06 10:26:50:301 CST] 0033 SystemErr R log4j:ERROR Error while activating options for

RE: JmsAppender bug?

2006-02-06 Thread DeSantis, MJ Mark @ IS (7179)
ruary 04, 2006 6:17 PM To: Log4J Users List Subject: Re: JmsAppender bug? On 03/02/2006, at 8:35 AM, DeSantis, MJ Mark @ IS (7179) wrote: > We got all the log4j code from the src directory that came with the > logging-log4j1.3-alpha7.zip file. I just looked at the svn trunk > and the

Re: JmsAppender bug?

2006-02-04 Thread Paul Smith
lla ticket on your behalf, see : http://issues.apache.org/bugzilla/show_bug.cgi?id=38512 I've also fixed the issue and committed to svn (your suggested changes look like the correct ones), I have also created a suggested test case for JMSAppender, but I want to discuss it's depende

RE: JmsAppender bug?

2006-02-03 Thread DeSantis, MJ Mark @ IS (7179)
ubject: Re: JmsAppender bug? On Feb 2, 2006, at 3:35 PM, DeSantis, MJ Mark @ IS (7179) wrote: > We got all the log4j code from the src directory that came with the > logging-log4j1.3-alpha7.zip file. I just looked at the svn trunk > and the two > bugs we found are still in it except that th

Re: JmsAppender bug?

2006-02-02 Thread Paul Smith
g activemq for the test. The JMSAppender uses the JNDI context stuff, so we should be able to run an activemq broker 'embedded' using brokerURL of 'vm://localhost', allowing an easy way to test it. Not sure how to register the topic in JNDI using activemq, see http://www.a

Re: JmsAppender bug?

2006-02-02 Thread Curt Arnold
field now (checkEntryConditions()). The checkEntryConditions was restored the the JMSAppender to fix a binary compatibility issue. There was not additional work or testing that the appender actually worked. I would be happy to subimt a bug report how would I go about doing that? I'm

RE: JmsAppender bug?

2006-02-02 Thread DeSantis, MJ Mark @ IS (7179)
TED] Sent: Thursday, February 02, 2006 3:14 PM To: Log4J Users List Subject: Re: JmsAppender bug? This is sounding serious. Could you A) raise a bugzilla ticket for this, and if you're game, fix the code and attach a unified patch (diff -u). I take it that you're trying this against

Re: JmsAppender bug?

2006-02-02 Thread Paul Smith
@ IS (7179) wrote: Okay so after figuring out all the libs needed to compile log4j, and testing the JmsAppender over and over over and over and over looking at Hermes and chainsaw, there have been two bugs found (or at least they seem to be bugs - perhaps they were intentional). The first one w

RE: JmsAppender bug?

2006-02-02 Thread DeSantis, MJ Mark @ IS (7179)
Okay so after figuring out all the libs needed to compile log4j, and testing the JmsAppender over and over over and over and over looking at Hermes and chainsaw, there have been two bugs found (or at least they seem to be bugs - perhaps they were intentional). The first one was already discussed

JmsAppender bug?

2006-02-02 Thread DeSantis, MJ Mark @ IS (7179)
I'm lost, has anyone succesfully used the JmsAppender from the alpha-7 build? perhaps I'm missing something but in the code for the activateOptions() method of JmsAppender i see this if (this.topicConnection != null && this.topicSession != null && t

JmsReceiver JmsAppender example

2006-01-31 Thread DeSantis, MJ Mark @ IS (7179)
Sorry this is a noobish question, but does anyone happen to have an xml or properties (preferable xml) example of configuring a JmsRecevier and a JmsAppender? Where can I find a list of parameters that each of these take. TIA (thanks in advace), Mark

How to use the JMSAppender for Chainsaw/Log4j

2005-08-29 Thread Rakesh Patel
I am trying to configure chainsaw/log4j to use the JMSAppender. I am unable to follow the javadoc for the JMSAppender. Can anyone tell me how to configure the JMSAppender with Sonic MQ? An example would be most illuminating! Rakesh

JMSAppender with sonic mq

2005-08-24 Thread Rakesh Patel
I am unable to find any documentation to correctly configure a JMSAppender that is to be used with Sonic MQ. Anyone out there ever setup up a JMSAppender with Sonic MQ? I would like to specify the configuration in a log4j.properties file. Thanks Rakesh

JMSAppender and IAS 10g

2005-06-13 Thread Lenin David Lozano Argel
I use the JMSAppender on my standalone OC4J and it works fine, but when I try to install the same application on Oracle AS 10g, using the JMSAppender with the same queue configuration it not send any message to te topic queue. Can anyone help me with this Urgent Lenin David

Trouble when using a JMSAppender sending log4j messages to a jboss topic

2005-04-19 Thread Laetitia MJPH
When I ran my program using a JMSAppender I got the following message log4j:WARN No appenders could be found for logger (org.jboss.mq.referenceable.SpyConnectionFactoryObjectFactory). log4j:WARN Please initialize the log4j system properly. It creates the connection to the topic but after that

Re: JMSAppender

2005-03-18 Thread subhendu mahanta
] INFO: WEB0121: Enabling no persistence for web module [/servlet2]'s sessions: persistence-type = [memory] WARNING: CORE3283: stderr: log4j:ERROR Could not find name [jms/ConnFactory]. WARNING: CORE3283: stderr: log4j:ERROR Error while activating options for appender named [JMSAppender]. WA

Re: JMSAppender

2005-03-18 Thread Mark van der Voort
Subhendu, What version of Log4J are you using, and what is the exact error message? Mark On Wed, 16 Mar 2005 21:06:24 +0530, subhendu mahanta <[EMAIL PROTECTED]> wrote: > > We are working with Sun Application Server 2004Q2. and want to use JMSAppender > I have used a

JMSAppender

2005-03-16 Thread subhendu mahanta
We are working with Sun Application Server 2004Q2. and want to use JMSAppender I have used a properties file logger.properties like this: log4j.rootCategory=, JMSAppender log4j.appender.JMSAppender

Re: JMSAppender Configuration Woes....

2005-03-11 Thread Mark van der Voort
Curt, I think there is a simple bug in the JMSAppender, providing it from working correctly: Currently it contains: if (this.topicConnection != null && this.topicSession != null && this.topicPublisher == null) { inOrder = true; } else { inOrder = false;

Re: JMSAppender Configuration Woes....

2005-03-10 Thread Curt Arnold
On Mar 10, 2005, at 11:03 AM, Aaron Rustad wrote: I am trying to configure a JMSAppender programmatically but I just can't seem to get it to go. I must be missing something quite simple. Call OptionsConverter.activateOptions on the appender after setting the properties and before adding

JMSAppender Configuration Woes....

2005-03-10 Thread Aaron Rustad
I am trying to configure a JMSAppender programmatically but I just can't seem to get it to go. I must be missing something quite simple. Anyway, this is this code that I have: static { String appenderClass = Preferences.systemRoot().get("process.monitor.appen

RE: configuring DBAppender / JMSAppender

2004-09-20 Thread Scott Deboy
- From: Ricardo Trindade [mailto:[EMAIL PROTECTED] Sent: Mon 9/20/2004 9:40 AM To: Log4J Users List Cc: Subject:RE: configuring DBAppender / JMSAppender Also, in our usage, we remotely consult logs over slow links. If the DBReceiver only gets a few hundred lines (ideally configurable

RE: configuring DBAppender / JMSAppender

2004-09-20 Thread Ricardo Trindade
de Setembro de 2004 16:46 Para: Log4J Users List Assunto: RE: configuring DBAppender / JMSAppender There is one case where something like this is important: receiving too many events too quickly can cause an out of memory error in Chainsaw. JDBCReceiver had a similar problem (JDBCReceiver is a

RE: configuring DBAppender / JMSAppender

2004-09-20 Thread Scott Deboy
] Sent: Mon 9/20/2004 3:53 AM To: Log4J Users List Cc: Subject:RE: configuring DBAppender / JMSAppender Hi, I've got DBAppender logging to mysql and chainsaw displaying events with DBReceiver. I noticed that DBReceiver / chainsaw gets all of the logging events

RE: configuring DBAppender / JMSAppender

2004-09-20 Thread Ricardo Trindade
? thanks Ricardo -Mensagem original- De: Ceki Gülcü [mailto:[EMAIL PROTECTED] Enviada: quinta-feira, 16 de Setembro de 2004 19:50 Para: Log4J Users List Assunto: Re: configuring DBAppender / JMSAppender At 08:37 PM 9/16/2004, you wrote: >Hi, > > I have some questions configu

Re: configuring DBAppender / JMSAppender

2004-09-16 Thread Ceki Gülcü
At 08:37 PM 9/16/2004, you wrote: Hi, I have some questions configuring DBAppender and JMSAppender. I read that to configure them, and some of the new appenders, I either have to do it programatically or use Joran. I don't want to code it, so Joran it is. My questi

configuring DBAppender / JMSAppender

2004-09-16 Thread Ricardo Trindade
Hi, I have some questions configuring DBAppender and JMSAppender. I read that to configure them, and some of the new appenders, I either have to do it programatically or use Joran. I don't want to code it, so Joran it is. My question is what is the status of the

JMSAppender newbie question, again

2004-06-15 Thread Pedro Tavares da Silva
Hi, can anyone give me a clue on what i am doing wrong? I'm using log4j 1.2.8 and jboss-3.2.3... i am configuring the client DOMConfigurator.configure("/home/pns/tmp/workspace/MyEjbClient/jboss.xml"); witch configures log4j... then i get this: log4j: Threshold ="null". log4j: Level value for root

Log4j, JMSAppender e JBOSS newbie question

2004-06-09 Thread Pedro Nuno Tavares da Silva
Hi, i am new using log4j and JBoss, and i'm trying to use the JMSAppender, i have seen an similar question/answer here, but the answer did not help me much. I am using log4j 1.2.8 and jboss 3.2.3, log4j is in debug mode. There's a j2ee client who logs to JMS and a Message Bean who wil

RE: null pattern with JMSAppender

2004-04-14 Thread Aristotle Allen
I figured this one out, I was using the wrong sql statement. Thanks anyway! -Original Message- From: Ceki Gülcü [mailto:[EMAIL PROTECTED] Sent: Wed 4/14/2004 1:20 PM To: Log4J Users List Cc: Subject:RE: null pattern with JMSAppender At 07:01 PM 4/14/2004, Aristotle

RE: null pattern with JMSAppender

2004-04-14 Thread Aristotle Allen
applied again. Is there a way to get the same to work for the JDBC logger as there is no locationInfo property in the JDBCLogger? here is my comeplete config log4j.category.org.synchronoss.util.logging.test.servlet=debug,JMSAppender log4j.category.org.synchronoss.util.logging.mdb=debug,RollingFile

RE: null pattern with JMSAppender

2004-04-14 Thread Ceki Gülcü
nfo property is part of the JMSAppender. Just set it to true. See: http://logging.apache.org/log4j/docs/api/org/apache/log4j/net/JMSAppender.html or more succinctly http://tinyurl.com/2m22d I hope this helps, Thanks again - Ari -Original Message- From: Ceki Gülcü [mailto:[EMAIL PROTECT

RE: null pattern with JMSAppender

2004-04-14 Thread Aristotle Allen
i Gülcü [mailto:[EMAIL PROTECTED] Sent: Wed 4/14/2004 10:21 AM To: Log4J Users List Cc: Subject:Re: null pattern with JMSAppender Aristotle, JMSAppender does not need a layout. To achieve what you have in mind, simply set the LocationInfo property of the JMSAppender. HTH, At 03:

Re: null pattern with JMSAppender

2004-04-14 Thread Ceki Gülcü
Aristotle, JMSAppender does not need a layout. To achieve what you have in mind, simply set the LocationInfo property of the JMSAppender. HTH, At 03:06 PM 4/14/2004, Aristotle B. Allen wrote: I'm trying to use the JMSAppender for distributed logging, however I need classname, method

null pattern with JMSAppender

2004-04-14 Thread Aristotle B. Allen
I'm trying to use the JMSAppender for distributed logging, however I need classname, method, and line_num in my message, because the remote system where the JMSappender re-logs the message does not appear to be to have the objects necessary to get that information. I have attempted to

Formatting a mesage with JMSAppender

2004-04-12 Thread Aristotle B. Allen
I'm trying to use the JMSAppender for distributed logging, however I need classname, method, and line_num in my message, because the remote system where the JMSappender re-logs the message does not appear to be to have the objects necessary to get that information. I have attempted to