build.xml question

2003-06-23 Thread Mark Womack
In the log4j build.xml file, for the main build and tests, there are the following lines:         Do we need these in the build.xml?  When I run my build.bat with these lines, on my WinXP system, I get an error message saying the 16-bit DOS subsystem could not be initialized, and then Ant st

v1.3 To Do List

2003-06-23 Thread Mark Womack
Unfortunately, my portion of the list is pretty much the same, but I'm guessing the Chainsaw and sandbox portions are out of date.  If anyone gets a chance, please update with any latest information you have.   http://nagoya.apache.org/wiki/apachewiki.cgi?Log4JProjectPages/ToDo   thanks, -Mar

RE: ReadWriterLock usage

2003-06-23 Thread Paul Smith
+1, you probably never be sure that an exception is not thrown. Good protective style. -Original Message-From: Mark Womack [mailto:[EMAIL PROTECTED]Sent: Tuesday, 24 June 2003 2:16 PMTo: Log4J Developers ListSubject: ReadWriterLock usage I was looking at the usage of the

ReadWriterLock usage

2003-06-23 Thread Mark Womack
I was looking at the usage of the ReadWriterLock class the Category code as an example for my similar modification to the PluginRegistry.   Shouldn't all the releaseWriteLock() and releaseReadLock() calls be contained in finally blocks?  Unless we are absolutely sure that an exception cannot

cvs commit: jakarta-log4j-sandbox/src/java/org/apache/log4j/chainsaw ThresholdSlider.java ReceiversPanel.java

2003-06-23 Thread psmith
psmith 2003/06/23 20:48:20 Modified:src/java/org/apache/log4j/chainsaw ReceiversPanel.java Added: src/java/org/apache/log4j/chainsaw ThresholdSlider.java Log: Initial addition of a Threshold slider dialog that does nothing. And when I say initial, I mean lame. Much mor

cvs commit: jakarta-log4j build.xml

2003-06-23 Thread psmith
psmith 2003/06/23 20:00:27 Modified:.build.xml Log: Changes to build process to take into consideration the new pattern directory. Ceki, is this right? I had to make this change to get a valid jar for Chainsaw 2. Revision ChangesPath 1.63 +2 -0

cvs commit: jakarta-log4j-sandbox/src/java/org/apache/log4j/xml XMLLayout.java

2003-06-23 Thread psmith
psmith 2003/06/23 19:45:45 Modified:src/java/org/apache/log4j/xml XMLLayout.java Log: Sandbox version of XMLLayout now conforms to the new Layout contract. Revision ChangesPath 1.3 +43 -51 jakarta-log4j-sandbox/src/java/org/apache/log4j/xml/XMLLayout.java

RE: Chainsaw V2 Message details

2003-06-23 Thread Paul Smith
Nope, you've done nothing wrong, this is just how we felt worked best for us. We currently have in plan a Dynamic formatting component that will render the details of the event using XSLT (or equivalent), and you'll be able to pick your own formatter (or even create your own) using the GUI. Many

RE: Latest Receiver/Plugin commits to sandbox

2003-06-23 Thread Paul Smith
> Please help me understand something. I thought that the > Pausible interface > was needed to pause/resume plugins. It is not clear to me what > pausing/resuming means in case of an appender or a logger. You're 100% right, it was me going off on a Generalization Tangent (out now from Mattel).

RE: Latest Receiver/Plugin commits to sandbox

2003-06-23 Thread Paul Smith
> Hi Paul, Mark, > > Assuming the SupportsThreshold interface (or Thresholdable) interface > consists of setThreshold, and getThreshold methods, then the > Category class > does not comply with this interface. Moreover, for obvious > compatibility > reasons we cannot change the Category class

RE: javaone concurrency presentation

2003-06-23 Thread Mark Womack
No, I did not get a chance to go. I very much wanted to, but my company didn't spring for the pass. But, this year you don't have to wait 6 months before the presentations become available to non-attendees (I think that says something about the state of Java and the industry), so I was wandering

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

2003-06-23 Thread ceki
ceki2003/06/23 10:07:11 Modified:src/java/org/apache/log4j/pattern PatternConverter.java src/java/org/apache/log4j Layout.java Log: Added Chris Nokes as author. He was the first to suggest several memory usage improvements. See http://marc.theaimsgroup.c

cvs commit: jakarta-log4j .cvsignore

2003-06-23 Thread ceki
ceki2003/06/23 10:02:06 Modified:testsbuild.xml ..cvsignore Added: tests.cvsignore Log: Updated .cvsignore files. Minor change to tests/build.xml Revision ChangesPath 1.35 +0 -1 jakarta-log4j/tests/build.xml

Re: cvs commit: jakarta-log4j/src/java/org/apache/log4j/xml XMLLayout.java

2003-06-23 Thread Ceki Gülcü
Hello Chris, I recently committed a number of changes to the Layout class as well as the various pattern converters. This was done simultaneously with improvements to the PatternLayout class. It was just done because it seemed like the right thing to do. However, reading your messages from October

Re: cvs commit: jakarta-log4j/src/java/org/apache/log4j/xml XMLLayout.java

2003-06-23 Thread Ceki Gülcü
As you have noticed, my last commit changed the interface of the Layout class. Layouts now write directly to the output stream of the appender which is much more efficient than creating a new sting for each token in the conversion pattern. This change has been discussed a long time ago. Please

cvs commit: jakarta-log4j-sandbox/src/java/org/apache/log4j/plugins Receiver.java

2003-06-23 Thread mwomack
mwomack 2003/06/23 08:57:54 Modified:src/java/org/apache/log4j/plugins Receiver.java Log: Updated to implement new Thresholdable interface. Removed comments about isActive. Want to review the whole "active" state. Revision ChangesPath 1.4 +40 -8 jakarta-log4

cvs commit: jakarta-log4j-sandbox/src/java/org/apache/log4j/spi Thresholdable.java

2003-06-23 Thread mwomack
mwomack 2003/06/23 08:56:31 Added: src/java/org/apache/log4j/spi Thresholdable.java Log: Added Thresholdable interface as suggested by Paul Smith with some modifications to the methods signatures to better match similar/existing methods is AppenderSkeleton. Revision Changes

Chainsaw V2 Message details

2003-06-23 Thread Joerg Eggink
Dear all I just download and build chainsaw V2 and it started successful without any problems. But I saw one different to previous version of chainsaw which was much better. In previous chainsaw version I had a message details output like this. ---chainsaw old-

Re: what configuration file?

2003-06-23 Thread Tbee
Hm. That makes sense. Thanks. Tom Quoting Ceki Gülcü <[EMAIL PROTECTED]>: > > You have to activate internal debugging from the command line or equivalent > by setting the log4j.debug system property. In that case, the file in use > is output by log4j. > > If you enable internal debugging f

Re: what configuration file?

2003-06-23 Thread Ceki Gülcü
You have to activate internal debugging from the command line or equivalent by setting the log4j.debug system property. In that case, the file in use is output by log4j. If you enable internal debugging from the config file itself, it is too late. At 09:31 PM 6/21/2003 +0200, you wrote: AFAIK i

RE: Latest Receiver/Plugin commits to sandbox

2003-06-23 Thread Ceki Gülcü
At 03:17 PM 6/23/2003 +1000, you wrote: > Why does using a threshold=off not achieve the same as "pause"? It does, but for semantics it might be useful to have this 'behaviour', even if it's implemented by having a Threshold set to off. I also agree it's very blurred. Could we convert this Pause

RE: Latest Receiver/Plugin commits to sandbox

2003-06-23 Thread Ceki Gülcü
Hi Paul, Mark, Assuming the SupportsThreshold interface (or Thresholdable) interface consists of setThreshold, and getThreshold methods, then the Category class does not comply with this interface. Moreover, for obvious compatibility reasons we cannot change the Category class. More below. At

cvs commit: jakarta-log4j-sandbox/src/java/org/apache/log4j/chainsaw ReceiversPanel.java

2003-06-23 Thread psmith
psmith 2003/06/23 00:48:09 Modified:src/java/org/apache/log4j/chainsaw ReceiversPanel.java Log: added a New Receiver popup menu highlighting the new Receiver you can create. Currently this still doesn't do anything just yet. Still working on a Receiver configuration dialog,