DO NOT REPLY [Bug 22894] - Single backslash not accepted in File param value

2005-02-11 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

cvs commit: logging-log4j/tests/input/db append-with-jndi1.xml read-with-pooled-datasource1.xml read-with-datasource1.xml

2005-02-11 Thread ceki
ceki2005/02/11 05:13:18 Modified:tests/input/db append-with-jndi1.xml read-with-pooled-datasource1.xml read-with-datasource1.xml Log: small fixes Revision ChangesPath 1.5 +5 -4 logging-log4j/tests/input/db/app

cvs commit: logging-log4j/tests ugli-test.xml

2005-02-11 Thread ceki
ceki2005/02/11 06:45:51 Modified:testsugli-test.xml Log: minor fix Revision ChangesPath 1.4 +1 -1 logging-log4j/tests/ugli-test.xml Index: ugli-test.xml === RCS file: /home/cvs/log

cvs commit: logging-log4j/tests db.xml

2005-02-11 Thread ceki
ceki2005/02/11 06:46:23 Modified:testsdb.xml Log: minor fix Revision ChangesPath 1.4 +5 -7 logging-log4j/tests/db.xml Index: db.xml === RCS file: /home/cvs/logging-log4j/tests/db.x

cvs commit: logging-log4j/examples/tiny-webapp INSTALL.txt

2005-02-11 Thread ceki
ceki2005/02/11 06:47:02 Modified:examples/tiny-webapp INSTALL.txt Log: Minor doc fix Revision ChangesPath 1.9 +8 -10 logging-log4j/examples/tiny-webapp/INSTALL.txt Index: INSTALL.txt ===

cvs commit: logging-log4j/src/java/org/apache/log4j/db/dialect HSQLDBDialect.java hsqldb.sql

2005-02-11 Thread ceki
ceki2005/02/11 08:49:48 Modified:src/java/org/apache/log4j/db/dialect HSQLDBDialect.java hsqldb.sql Log: Updates as suggested by Mark Evans. See http://marc.theaimsgroup.com/?l=log4j-user&m=110745301609184&w=2 for more details. Revision

cvs commit: logging-log4j .cvsignore

2005-02-11 Thread ceki
ceki2005/02/11 08:52:02 Modified:..cvsignore Log: CVS ignore whatever is in tmp/ Revision ChangesPath 1.16 +1 -0 logging-log4j/.cvsignore Index: .cvsignore === RCS file: /home/c

Message based rolling trigger

2005-02-11 Thread Curt Arnold
I had what seemed like a reasonable request from one of my client to have a way to programatically initiate a rollover. What I think would work well would be to modify the signature for TriggeringPolicy.isTriggeringEvent to include the event in addition to the file and to add a EventBasedTrigg

Re: Message based rolling trigger

2005-02-11 Thread Ceki Gülcü
No objections from me. I've heard of rollovers based on date and size but never on message contents. I am curious about the use case. At 06:30 PM 2/11/2005, Curt Arnold wrote: What I think would work well would be to modify the signature for TriggeringPolicy.isTriggeringEvent to include the even

Re: Message based rolling trigger

2005-02-11 Thread Niclas Hedhman
On Saturday 12 February 2005 01:38, Ceki Gülcü wrote: > No objections from me. > > I've heard of rollovers based on date and size but never on message > contents. I am curious about the use case. I can think of one from the Process Control industry; A lot of Process Control is operating around 'b

cvs commit: logging-log4j/tests/witness/xml dom.A1.2 dom.A2.2

2005-02-11 Thread carnold
carnold 2005/02/11 10:11:44 Modified:src/java/org/apache/log4j FileAppender.java PatternLayout.java src/java/org/apache/log4j/helpers OptionConverter.java src/java/org/apache/log4j/joran/action ParamAction.java tests/sr

Re: cvs commit: logging-log4j/tests/witness/xml dom.A1.2 dom.A2.2

2005-02-11 Thread Ceki Gülcü
Thank Curt. I think any contribution of 10 lines or more to a class merits authorship. You might want to add an author tag as appropriate. Needless to say, this is just a suggestion. :-) At 07:11 PM 2/11/2005, you wrote: carnold 2005/02/11 10:11:44 Modified:src/java/org/apache/log4j Fi

DO NOT REPLY [Bug 22894] - Single backslash not accepted in File param value

2005-02-11 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

Archives not available

2005-02-11 Thread Curt Arnold
The ASF archive for this list (http://nagoya.apache.org/eyebrowse/SummarizeList?listId=200) is not working properly. There is now entry for Feb 2005 and the links for All and Jan 2005 will display a VelocityException. The AIMS group archive (http://marc.theaimsgroup.com/?l=log4j-dev&r=1&w=2)

DBAppender2?

2005-02-11 Thread Curt Arnold
What is org.apache.log4j.db.DBAppender2 and why would I use it instead of DBAppender? What is the status of the org.apache.log4j.db? Is it stable enough to consider porting it to log4cxx to replace its ODBCAppender? - To unsu

Re: DBAppender2?

2005-02-11 Thread Ceki Gülcü
DBAppener2 was added to CVS by mistake. You can ignore it/delete it. DBAppender is stable and tested. I wouldn't qualify it as industrial strength because it reportedly behaves badly when the database is bounced/recycled. We need to test it so that it can reconnect to the db after a temporary fa

DO NOT REPLY [Bug 22894] - Single backslash not accepted in File param value

2005-02-11 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 22894] - Single backslash not accepted in File param value

2005-02-11 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

Re: DBAppender2?

2005-02-11 Thread Curt Arnold
Have you considered using Apache Derby (http://incubator.apache.org/derby/) in the tests? Just a question, not a recommendation. I know it would add yet another dependency to the build (and an incubated one at that), but it should allow you to test against a "real" database without a lot of t

Re: DBAppender2?

2005-02-11 Thread Ceki Gülcü
No doubt that DBAppender should support Derby. Having a lightweight DB is certainly the way to go for testing purposes. Has anyone already used mock objects to fake JDBC connection failures? At 09:17 PM 2/11/2005, you wrote: Have you considered using Apache Derby (http://incubator.apache.org/der

cvs commit: logging-log4j/tests/src/java/org/apache/log4j/helpers OptionSubstitutionTest.java

2005-02-11 Thread carnold
carnold 2005/02/11 13:17:11 Modified:src/java/org/apache/log4j/helpers OptionConverter.java tests/src/java/org/apache/log4j/helpers OptionSubstitutionTest.java Log: bug 22894: Backslashes in file specs, UNC handling Revision ChangesPat

DO NOT REPLY [Bug 22894] - Single backslash not accepted in File param value

2005-02-11 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

cvs commit: logging-log4j/src/java/org/apache/log4j/db DBAppender2.java

2005-02-11 Thread carnold
carnold 2005/02/11 15:14:35 Modified:src/java/org/apache/log4j FileAppender.java Removed: src/java/org/apache/log4j/db DBAppender2.java Log: Removing unused DBAppender2 Revision ChangesPath 1.49 +40 -1 logging-log4j/src/java/org/apache/log4j/FileAppender.ja

cvs commit: logging-log4j/tests/src/java/org/apache/log4j/helpers OptionSubstitutionTest.java

2005-02-11 Thread carnold
carnold 2005/02/11 15:33:38 Modified:tests/src/java/org/apache/log4j/helpers OptionSubstitutionTest.java Log: Bug 22894(Backslashes): moving strip method to FileAppender, reverting OptionConverter Revision ChangesPath 1.5 +11 -10 loggin

cvs commit: logging-log4j/src/java/org/apache/log4j/helpers OptionConverter.java

2005-02-11 Thread carnold
carnold 2005/02/11 15:33:51 Modified:src/java/org/apache/log4j/helpers OptionConverter.java Log: Bug 22894(Backslashes): moving strip method to FileAppender, reverting OptionConverter Revision ChangesPath 1.54 +0 -41 logging-log4j/src/java/org/apache/log4j/hel

Unit test needs good home

2005-02-11 Thread Curt Arnold
After porting the backslash stripping code back to log4cxx, I decided that I liked the stripDuplicateBackslashes better on FileAppender (where it is in log4cxx) than in OptionConverter and started to move it in my working copy of log4j. However, I ran into the problem of not having a good home

DO NOT REPLY [Bug 33531] New: - New feature: Event filter based rolling

2005-02-11 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

cvs commit: logging-log4j/src log4j-coding-convention.xml

2005-02-11 Thread carnold
carnold 2005/02/11 19:06:59 Modified:src log4j-coding-convention.xml Log: Updating code conventions for 2005 Revision ChangesPath 1.2 +1 -1 logging-log4j/src/log4j-coding-convention.xml Index: log4j-coding-convention.xml

cvs commit: logging-log4j/tests/src/java/org/apache/log4j/xml SchemaTestCase.java

2005-02-11 Thread carnold
carnold 2005/02/11 19:08:07 Modified:tests/src/java/org/apache/log4j/xml SchemaTestCase.java Log: Jalopy code reformmating only Revision ChangesPath 1.2 +125 -121 logging-log4j/tests/src/java/org/apache/log4j/xml/SchemaTestCase.java Index: SchemaTestCase.java

cvs commit: logging-log4j/tests/input/rolling filter1.xml

2005-02-11 Thread carnold
carnold 2005/02/11 19:10:28 Modified:src/java/org/apache/log4j/rolling RollingFileAppender.java SizeBasedTriggeringPolicy.java TimeBasedRollingPolicy.java TriggeringPolicy.java testsbuild.xml Added: src/java/org/a

Filter based triggering policy

2005-02-11 Thread Curt Arnold
I've committed org.apache.log4j.rolling.FilterBasedTriggeringPolicy and associated tests as bug 33531. The policy will evaluate the current message against a set of filters and if the message passes the filters, a rollover is initiated. The associate test is pretty contrived, it triggers on a