cvs commit: jakarta-log4j/src/java/org/apache/log4j DailyRollingFileAppender.java

2001-03-21 Thread pathos
pathos 01/03/21 15:30:18 Modified:src/java/org/apache/log4j DailyRollingFileAppender.java Log: Documentation changes. Revision ChangesPath 1.10 +7 -8 jakarta-log4j/src/java/org/apache/log4j/DailyRollingFileAppender.java Index: DailyRollingFileAppender.ja

cvs commit: jakarta-log4j/src/java/org/apache/log4j/net SMTPAppender.java

2001-03-21 Thread ceki
ceki01/03/21 15:17:06 Modified:src/java/org/apache/log4j ConsoleAppender.java FileAppender.java WriterAppender.java src/java/org/apache/log4j/net SMTPAppender.java Log: Still restoring backwards compatibility. Revision ChangesPath

Re: How about log4j.layout in configure file?

2001-03-21 Thread Ceki Gülcü
Jin, At 16:51 21.03.2001 -0600, Jin Zhao wrote: > I just tried the variable substitution solution. It only works on >"option values". >I can't use a variable for a class name, ie the configurator will >complain of not being able to instantiate that class. Why not? Class name is just an opti

Re: How about log4j.layout in configure file?

2001-03-21 Thread Jin Zhao
I just tried the variable substitution solution. It only works on "option values". I can't use a variable for a class name, ie the configurator will complain of not being able to instantiate that class. I set variables on top of the configuration file and didn't try the log4j.properties way

cvs commit: jakarta-log4j/src/java/org/apache/log4j/net SMTPAppender.java

2001-03-21 Thread ceki
ceki01/03/21 14:03:39 Modified:src/java/org/apache/log4j AppenderSkeleton.java FileAppender.java WriterAppender.java src/java/org/apache/log4j/net SMTPAppender.java Log: Restoring full backward compatibility. Revision ChangesPath

Full backward compatibility

2001-03-21 Thread Ceki Gülcü
Hi everyone, I have started restoring full backward compatibility between 1.0.4 and the future 1.1. This task consists of restoring the setOption/getOptionStrings methods in all appenders and layouts. These methods will be marked as deprecated. The good thing is that restoring these methods d

cvs commit: jakarta-log4j/src/java/org/apache/log4j/xml/test Makefile

2001-03-21 Thread ceki
ceki01/03/21 13:34:34 Modified:src/java/org/apache/log4j AppenderSkeleton.java AsyncAppender.java Makefile src/java/org/apache/log4j/config PropertySetter.java src/java/org/apache/log4j/examples Makefile src/java/o

Re: How about log4j.layout in configure file?

2001-03-21 Thread Ceki Gülcü
Anders. Jin's request can be answered satisfactorily by variable substitution as another user suggested earlier. A very important point to keep in mind is that layout instances are not intended to be used by multiple appenders, but a given appender can be attached to multiple categories. (

cvs commit: jakarta-log4j/src/java/org/apache/log4j/test SocketAppenderTest.java Makefile

2001-03-21 Thread ceki
ceki01/03/21 12:52:18 Modified:src/java/org/apache/log4j/test Makefile Added: src/java/org/apache/log4j/test SocketAppenderTest.java Log: Corrected path to match the new src/java source dir. Revision ChangesPath 1.9 +1 -1 jakarta-log4j/src/java/org

RE: scope of PropertyConfigure.configure("config file")

2001-03-21 Thread Cakalic, James P.
Title: RE: scope of PropertyConfigure.configure("config file") Hi, Paul. I appreciated your answer on this question and wondered whether you might be privy to a similar strategy for setting properties for the WebSphere Test Environment. Best regards, Jim Cakalic > -Original Message---

Re: log4j changes impacting velocity

2001-03-21 Thread Ceki Gülcü
The recent changes to log4j that broke velocity and the discussion that followed is very instructive. There is a very important lesson to be learned for the future of log4j development. Sam was very quick to find the backward incompatibility due to his nightly build system called Gump. I ini

[GUMP] Build Failure - Velocity

2001-03-21 Thread Sam Ruby
Still a problem? - Sam Ruby -- Forwarded by Sam Ruby/Raleigh/IBM on 03/21/2001 01:58 PM --- Sam Ruby/Raleigh/IBM@IBMUS on 03/21/2001 11:25:36 AM Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: [GUMP] Build Failure - Velocit

Re: How about log4j.layout in configure file?

2001-03-21 Thread Anders Kristensen
Jin, I think what you ask for makes a lot of sense but that it might be part of a more thoroughly reworked property configurator, which also handles configuration of Categories, Appenders, Layouts, ErrorHandlers and Filters in a consistent, simple, and powerful manner. Let me try and outline how

How about log4j.layout in configure file?

2001-03-21 Thread Jin Zhao
I meet such a condition when configure log4j using an extended PropertyConfigurator. There are more than two dozens of Appenders use one same layout. What I did is just copy and paste them. However, everytime I make changes to the layout, I need to copy and paste again. Can we configure layout in