Alternative JDBCAppender from Thomas Fenner (klopotek) fixed for current Log4j/JDK

2002-12-13 Thread Danko Mannhaupt
Hi, recently I needed an Appender to log messages to a database. On http://jakarta.apache.org/log4j/docs/download.html I found the third-party extension from Thomas Fenner. http://support.klopotek.de/log4j/jdbc/default.htm Unfortunately, this version did not work with the current Log4j

WAR (tomcat) + LOG4J : wrong configuration?

2002-12-13 Thread Pedro Salazar
Greetings, I would like to configure log4j to log information to a specific file. Until now, after I created and deployed the log4j.properties inside WEB-INF/classes/, I only managed to stop the boring message: log4j:WARN No appenders could be found for logger

Re[2]: Log4j Configuration with Servlet

2002-12-13 Thread Ceki Gülcü
At 21:04 12.12.2002 -0600, Jacob Kjome wrote: MW I would also like to say that I have proposed that we include servlet/web MW application support in v1.3 of log4j. This would include an init servlet, MW context listeners, configuration via a servlet, etc. Jacob has proposed to MW include

How can I define an own appender for each category?

2002-12-13 Thread Dirk Storck
How can I define an own appender for each category so that classes from a certain package write their log messages to their own files? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: Logging to a Servlet container's log files

2002-12-13 Thread Shapira, Yoav
Howdy, I will attempt to answer some of your questions, but my answers are skewed by personal experience of course ;) * The app server will handle log buffering so that log messages are only written to disk every X seconds, where X is a configurable log-flush-interval value. This is not

RE: Re[2]: Log4j Configuration with Servlet

2002-12-13 Thread Shapira, Yoav
Howdy, If we think it is a good, useful example of a repository selector, and to be useful it needs to live at the same location as the log4j jar, why should we not include it in the official distribution? When does it become core, in your opinion? In my mind, it may be possible that the log4j

RE: Resin with log4j (long)

2002-12-13 Thread Jacob Kjome
Hi Mark, I have tried using a servlet context listener in Tomcat and it behaves just as Yoav says it does. The contextInitialized() gets called first and then an initialization servlet which I have set to load-on-startup1/load-on-startup gets run. So, at least Tomcat works this way. I wonder if

Antigen found ScanTimeExceeded virus

2002-12-13 Thread ANTIGEN_MAILSRV
Antigen for Exchange found TestListener.zip infected with ScanTimeExceeded virus. The file is currently Removed. The message, RE: Resin with log4j (long), was sent from Jacob Kjome and was discovered in IMC Queues\Inbound located at International Data Post/Copenhagen/MAILSRV. -- To unsubscribe,

RE: Resin with log4j (long)

2002-12-13 Thread Jacob Kjome
Duly noted. thanks for the clarification! Jake At 10:32 AM 12/13/2002 -0500, you wrote: Howdy, Yoav, any comments about that? You must not have gotten my reply before posting yours ;) Or the other way around: our mail server has been having difficulties ;) I agree with you SRV 2.3 is not

RE: Re[2]: Log4j Configuration with Servlet

2002-12-13 Thread Jacob Kjome
Yep, There is no harm in using Log4j within WEB-INF/lib even if Log4j exists in a parent classloader. It doesn't affect any other apps the the current app is free to use whatever version of the jars they want. In the context of using a repository selector, putting log4j.jar in the

Re: Logging to a Servlet container's log files

2002-12-13 Thread Dave Johnson
Thanks for the response Shapira. My comments on your comments are below. Shapira, Yoav wrote: * The app server will handle log buffering so that log messages are only written to disk every X seconds, where X is a configurable log-flush-interval value. This is not required by the servlet