RE: Load configuration without instantiating ecverything

2003-03-31 Thread Shapira, Yoav
Howdy, You could always read the log4j configuration file yourself, using just the normal java.util.Properties class. Look for properties whose name ends in File, and try to do a new File(...) on the value of these properties. Yoav Shapira Millennium ChemInformatics -Original

RE: Newbie - Basic Question

2003-03-31 Thread Mark Womack
David, Your question is more appropriate for the log4j-user email list. Have you looked into using the MDC to store the session id? You can then output the current sessionid as part of the message. The stock pattern layout uses the %X escape sequence to print out MDC key/value pairs. -Mark

RE: Acorn request for core log4j

2003-03-31 Thread Mark Womack
Richard, What do you want to use this value for? What would you like the value to be? -Mark ps Sorry for the delay, things got busy here are work too...:-) --- Ceki/Mark, Can you add a toString() method to the

RE: Acorn request for core log4j

2003-03-31 Thread Richard Bair
He he he, work shmork :-) I figured that returning the appender's name would be handy. Basically, I have a List of Objects - Strings, appenders, and Loggers. These objects are displayed in a JList. So, either the toString() method is overridden to display something pretty and nice (like the

JDBC Appender

2003-03-31 Thread Raymond DeCampo
Hello all, I finally have more time as a major deadline has passed at work. I was thinking about writing an improved JDBC appender. My intention is to create a new appender from scratch. As discussed previously, I figured I would have an abstract base class with an abstract getConnection()

Re: JDBC Appender

2003-03-31 Thread Raymond DeCampo
Paul Smith wrote: I figured I would have an abstract base class with an abstract getConnection() class and two concrete derivatives; one for getting the connection from a JNDI context and one for getting the connection from the DriverManager. This isn't too bad an idea, but I'm personally

RE: JDBC Appender

2003-03-31 Thread Mark Womack
Raymond, I finally have more time as a major deadline has passed at work. I was thinking about writing an improved JDBC appender. My intention is to create a new appender from scratch. As discussed previously, I figured I would have an abstract base class with an abstract

SV: JDBC Appender

2003-03-31 Thread hermod . opstvedt
Hi Maybe you should take a look at the DBCP stuff that is used in Tomcat, with regards to instatiation etc. -Opprinnelig melding- Fra: Raymond DeCampo [mailto:[EMAIL PROTECTED] Sendt: 1. april 2003 05:14 Til: [EMAIL PROTECTED] Emne: JDBC Appender Hello all, I finally have more time as

SV: JDBC Appender

2003-03-31 Thread hermod . opstvedt
Hi With the danger of derailing the subject I do appreciate you thoughts. The discussion of containment vs. inheritance is a long and weildy one and better done some somewhere else. Hermod -Opprinnelig melding- Fra: Paul Smith [mailto:[EMAIL PROTECTED] Sendt: 1. april 2003 08:58 Til: