e-mail logger?

2003-12-18 Thread Charl Gerber
Is there an implementation available (or planned) for a log4j e-mail logger? I would find it extremely usefull if my application would e.g. send me an e-mail every time an error occurs ... it is often impractical to keep monitoring logs all day log. Thanks.

RE: log4J Struts 1.1 WL 6.1 SP3 JDK 1.3

2003-12-18 Thread Allistair Crossley
This is such an annoying type of question. How can anyone help you if you don't tell us what the problem is! Dear me. THINK. -Original Message- From: Emma Gabriela Guevara [mailto:[EMAIL PROTECTED] Sent: 17 December 2003 20:51 To: [EMAIL PROTECTED] Subject: log4J Struts 1.1 WL 6.1 SP3

Selective Logging

2003-12-18 Thread Sudhakar G
Hi, I am new to log4j.Can you help me by answering the following questions? 1)I want to log only error level messages in log file.How do I proceed? 2)Is it possible to change the configuration setting at runtime without restarting the server it should reflect while logging? 3)Is

Re: e-mail logger?

2003-12-18 Thread Paul Smith
There is already an SMTPAppender in log4j, and very handy it is too. http://jakarta.apache.org/log4j/docs/api/org/apache/log4j/net/SMTPAppender.html cheers, Paul Smith On Thu, 2003-12-18 at 19:55, Charl Gerber wrote: Is there an implementation available (or planned) for a log4j e-mail

Réf. : RE: log4J Struts 1.1 WL 6.1 SP3 JDK 1.3

2003-12-18 Thread ahmed . alami-prestataire
Hello, Make sur your classpath environnement variable is clean and does not contain jars included in the WEB-INF/lib or WEB-INF/classes directories If not, send the error returned by the server, it would be more helpful. Hope it helps. Ahmed ALAMI DQAI/SDV Tel : 05 57 75 60 52 Post-scriptum La

Re: e-mail logger?

2003-12-18 Thread Michael Seele
i mean there's a smtp appender in the log4j lib!? Charl Gerber schrieb am 18.12.2003 09:55: Is there an implementation available (or planned) for a log4j e-mail logger? I would find it extremely usefull if my application would e.g. send me an e-mail every time an error occurs ... it is often

Réf. : Log4J servlet

2003-12-18 Thread ahmed . alami-prestataire
Hi, I'm intrested on testing your servlet capabilities, can u send it to me?? For the Open Source Power ... Ahmed ALAMI DQAI/SDV Tel : 05 57 75 60 52 Post-scriptum La Poste Ce message est confidentiel. Sous réserve de tout accord conclu par écrit entre vous et La Poste, son contenu ne

Re: Réf. : Log4J servlet

2003-12-18 Thread Tom Eugelink
Here ya go. Of course you'll need log4j. Tom [EMAIL PROTECTED] wrote: Hi, I'm intrested on testing your servlet capabilities, can u send it to me?? For the Open Source Power ... Ahmed ALAMI DQAI/SDV Tel : 05 57 75 60 52

RE: JMSQueueAppender and Tomcat 4.1

2003-12-18 Thread Shapira, Yoav
Howdy, Make sure your initial context factory implementation is in WEB-INF/lib, and that you construct an initial context with the environment parameter (hashtable), not just new InitialContext(). In that environment, specify the factory class name and server JNDI URL. When you don't, you're

RE: Selective Logging

2003-12-18 Thread Shapira, Yoav
Howdy, Yes, there is: add a LevelMatchFilter set to ERROR to your appender. My apologies for reading your original request as ERROR or higher rather than simply ERROR. It's an unusual configuration -- why would you want to NOT log fatal errors? Yoav Shapira Millennium ChemInformatics

Multiple logging inside a single webapp

2003-12-18 Thread Atul Gosain
Hi I have a situation like, a single webapp, but different modules inside a single webapp. Each module is using its own logging using log4j. Each one has a configuration file in Web-inf/classes and log4j.jar is inside Web-inf/lib which they are configuring in their classes through

RE: JMSQueueAppender and Tomcat 4.1

2003-12-18 Thread Sabitha
Thank you for the response. I am constructing the initial context factory as you suggest - using the hastable. Both this and the provider URL are specified in the log4j file for the JMSQueueAppender. ht.put(Context.INITIAL_CONTEXT_FACTORY, initialContextFactory);

RE: e-mail logger?

2003-12-18 Thread Sullivan, Sean C - MWT
Log4j provides an SMTPAppender http://jakarta.apache.org/log4j/docs/api/org/apache/log4j/net/SMTPAppender.html For java.util.logging, you can use SMTPHandler http://smtphandler.sourceforge.net/ -Original Message- From: Charl Gerber To: [EMAIL PROTECTED] Sent: 12/18/2003 12:55 AM

RE: JMSQueueAppender and Tomcat 4.1

2003-12-18 Thread Shapira, Yoav
Howdy, And the class with the initial context factory implementation (com.ibm...) is in your WEB-INF/lib? Along with log4j? Yoav Shapira Millennium ChemInformatics -Original Message- From: Sabitha [mailto:[EMAIL PROTECTED] Sent: Thursday, December 18, 2003 9:50 AM To: Log4J Users List

RE: Dead lock problem with log4J 1.2.8

2003-12-18 Thread Garlak, Gregory
Hi, I've ran into this problem a while back when load testing a Weblogic 8.1 application in dev environment at verbose DEBUG level. It usually occurred after many hours of continous pounding on the app server. Didn't investigate further due to time constraints, but will definitely be forced to

RE: JMSQueueAppender and Tomcat 4.1

2003-12-18 Thread Sabitha
Yes.. this class is in the websphere.jar file and I have included it - along with log4j-1.2.8.jar - in my WEB-INF/lib directory. Sabitha Shapira, Yoav [EMAIL PROTECTED] wrote: Howdy, And the class with the initial context factory implementation (com.ibm...) is in your WEB-INF/lib? Along

FW: Multiple logging inside a single webapp

2003-12-18 Thread Atul Gosain
Hi This is the debug output of my logging configuration. The logging is coming inside stderr.log instead of stdout.log inside Tomcat. Cant understand whats the problem. log4j: Parsing for [root] with value=[INFO, A1]. log4j: Priority token is [INFO]. log4j: Category root set to INFO

RE: JMSQueueAppender and Tomcat 4.1

2003-12-18 Thread Shapira, Yoav
Howdy, My guess is you're missing a class required by the IBM InitialContextFactory implementation. Did you include the whole websphere.jar? If so, what's in that jar? Yoav Shapira Millennium ChemInformatics -Original Message- From: Sabitha [mailto:[EMAIL PROTECTED] Sent: Thursday,

Re: Multiple logging inside a single webapp

2003-12-18 Thread Tom Eugelink
I had a lot of problems with something very similar. I resolve to writing a servlet which force-configures log4j. Atul Gosain wrote: Hi I have a situation like, a single webapp, but different modules inside a single webapp. Each module is using its own logging using log4j. Each one has a

Re: Multiple logging inside a single webapp

2003-12-18 Thread Tom Eugelink
I had a lot of problems with something very similar. I resolve to writing a servlet which force-configures log4j. You can have it, if you like. Atul Gosain wrote: Hi I have a situation like, a single webapp, but different modules inside a single webapp. Each module is using its own logging

RE: JMSQueueAppender and Tomcat 4.1

2003-12-18 Thread Sabitha
I included the entire jar and it contains all these packages: com.ibm.websphere.classloader com.ibm.websphere.examples com.ibm.websphere.naming com.ibm.websphere.runtime com.ibm.websphere.security com.ibm.websphere.servlet com.ibm.websphere.servlet.cache com.ibm.websphere.servlet.error

[ANNOUNCEMENT] Apache Logging Services project

2003-12-18 Thread Ceki Gülcü
Good morning to all, The log4j developers are pleased to announce that the Board of Directors of the Apache Software Foundation unanimously passed a resolution for the creation of the Apache Logging Services project. A copy of the resolution can be found at: