JMSAppender configuration...

2002-05-14 Thread Klein, Scott @ TW
I have searched for any comments on how to set up the JMSAppender appropriately, primarily the binding information of the JMS server to no avail, can someone point me in the right direction or throw a config file my way? tia, scott -- To unsubscribe, e-mail: For addi

Re: XML configuration

2002-05-14 Thread Hu
The file name is "log4j.xml". Here is code: try { DOMConfigurator.configureAndWatch("log4j.xml"); Here is the xml: --- Ceki Gülcü

[Newbie] Categories defined in hierarchy, but not necessarily by class name

2002-05-14 Thread Matthias, Collette
Hi, I am new to log4j and have a few questions. I am designing a "next generation" system based off of our current system. The system needs to log events, as well as send an alarm to our operations people depending on the specified event, as well as some other factors. We currently defin

Re: Filtering by Priority

2002-05-14 Thread Maha Asad
Hi, Here is a sample of doing this using filters, hope it works Maha http://jakarta.apache.org/log4j/"; debug="true">

MDC and EJB

2002-05-14 Thread Benary Klaus
I like the idea of MDC very much. But, can I use it in an J2EE environment where the logging activity is passed around between multiple EJBs? As I read the spec, it is entirely up to the the EJB container to use one of its pooled threads to execute EJBs. Whenever I test it, it works fine: Any sub

Re: [newbie] log4j and tomcat

2002-05-14 Thread Didier Bretin
Oops, in fact I forgot to initialise it with DOMConfigurator. So now it works :o). On Tue, 14 May 2002 14:56:26 +0200 Didier Bretin <[EMAIL PROTECTED]> wrote: > Hello, > > First, I'm with: tomcat-4.0.3 and log4j-1.2 > > The example 2 of the manual tells me to do: > export TOMCAT_OPTS

Filtering by Priority

2002-05-14 Thread Daniel Serodio
Hi! How can I make logging requests with priority DEBUG and INFO go to one appender, and WARNING, ERROR or FATAL go to another? Thank you very much. -- []'s Daniel Serodio -- To unsubscribe, e-mail: For additional commands, e-mail:

[newbie] log4j and tomcat

2002-05-14 Thread Didier Bretin
Hello, First, I'm with: tomcat-4.0.3 and log4j-1.2 The example 2 of the manual tells me to do: export TOMCAT_OPTS="-Dlog4j.configuration=foobar.xml" So I do and launch tomcat: ./bin/catalina.sh start And before I create a foobar.xml file in my webapps/WEB-INF/classes directory.

Re: jdbc appender problem

2002-05-14 Thread Kevin Steppe
I would recommend using org.apache.log4j.jdbc.JDBCAppender that comes with 1.2. It should be compatible with log4j 1.1.3. Thomas Fenner/Klopotek is no longer supporting that code. Kevin Seetharam Sandhya wrote: > Hi, > Has anyone used the JDBCAppender add on that is there > on the site? > >

Re: [Newbie] log4j.properties outside a jar

2002-05-14 Thread PradeepKumar_NB
hi Place the directory name in the class path. It will work fine. rgrds pradeep Slimane Zouggari <[EMAIL PROTECTED]> on 05/14/2002 09:31:08 AM Please respond to "Log4J Users List" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] cc:(bcc: Pradeep NB Kumar/India/KINDLE) Subject: [Newbie] lo

Re: jdbc appender problem

2002-05-14 Thread PradeepKumar_NB
Hi, I think you have not put the select statement in the file. put the sentence like this in the *.lcf file. log4j.appender.A2.layout.ConversionPattern=INSERT INTO CSEAUDITINFO (THREAD, MESSAGE) VALUES ('%t', '%m') You are getting error as main because. The logger outputs the first message

jdbc appender problem

2002-05-14 Thread Seetharam Sandhya
Hi, Has anyone used the JDBCAppender add on that is there on the site? I am trying to use that since we r not using 1.2. This is the exception i am getting.Can someone help ... In get connection of MyConnectionHandler1 created a connection Exception in thread "main" java.lang.NoSuchFieldError: c

RE: [Newbie] log4j.properties outside a jar

2002-05-14 Thread Thomas Tuft Muller
Set the log4j.configuration property at startup: java -Dlog4j.configuration=/log4j.properties MyApp ... See also chapter 'Default Initialization Procedure' in http://jakarta.apache.org/log4j/docs/manual.html -- Thomas | -Original Message- | From: Slimane Zouggari [mailto:[EMAIL PROT

[Newbie] log4j.properties outside a jar

2002-05-14 Thread Slimane Zouggari
Hi, When I use my app with log4j.properties inside my *.jar, it works without any problem. But, when I try to remove that file from the jar and put it in the same directory of the *.jar, it doesn't work anymore... Could you, please, explain me (or point me to a website that does explain this)

Re: XML configuration

2002-05-14 Thread Ceki Gülcü
When you invoke DOMConfigurator.configureAndWatch(String configFilename) what is the value of configFilename? Does the value contain a "#" character? What are the contents of the XML file you are trying to parse? At 16:01 13.05.2002 -0700, you wrote: >I have problem to configure log4j using xml