Re: Encrypted logs

2004-11-17 Thread Stephen Pain
public key encryption is much slower than symmetric encryption - too slow, I think, for encrypting logs (for the majority of apps) A better approach would be to generate a random key for symmetric encryption on the fly - you use this key to encrypt the log, then encrypt this key using a public

Re: cvs commit: logging-log4j/src/java/org/apache/log4j/chainsaw/help release-notes.html

2004-08-06 Thread Stephen Pain
Hi Paul, Thanks for fixing the problem with loading huge events. Unfortunately, it's dramatically slowed down the loading of an xml file - a 23MB file I have takes 20 seconds with the previous version, and 140 seconds with the new version! I've played around a bit with a few options resulting

RE: save filtered events from chainsaw (thread moved from log4j-user)

2004-07-20 Thread Stephen Pain
If you have the time, that'd be great - Submit the patches and any dev-related questions to the log4j-dev mailing list Scott -Original Message

RE: pls patch JMSReceiver!

2004-06-28 Thread Stephen Pain
I've applied the patch to CVS (done by hand, I had bracket trouble due to lack of coffee this morning). Cheers, Paul Smith > -Original Message- &g

pls patch JMSReceiver!

2004-06-27 Thread Stephen Pain
Hi all, I'd really appreciate it if someone could apply the small patch below which fixes problems I had when trying to connect to more than one (weblogic) environment but where the topicFactoryName is the same across the environments... Thanks! Cheers, Stephen Index: JMSReceiver.java ==

RE: JMSReceiver - chainsaw (webstart)

2004-06-10 Thread Stephen Pain
actually, shutting down a receiver that's been defined in an xml config file (and I've now cut down the list to three - a JMSReceiver, a SocketReceiver and a SocketHubReceiver) seems to have absolutely no effect - I've just tried to shutdown each of them individually and I'm still getting log e

RE: JMSReceiver - chainsaw (webstart)

2004-06-10 Thread Stephen Pain
> I have not been able to reproduce the the duplicate receivers issue yet (I > did a while ago when I 'fixed' it, but haven't found a condition where it > appears for me). That's strange, I get it every time - try defining an xml chainsaw config file with multiple receivers (I have 8 defined i

RE: JMSReceiver - chainsaw (webstart)

2004-06-10 Thread Stephen Pain
Chainsaw can actually talk to JMS already though - and if webstart continues to make things more difficult than they need to be for JMS, I'll be prepared to make the switch to building everything myself, even if it means building at home & then transferring the jar to work! Of course, if you h

RE: JMSReceiver - chainsaw (webstart)

2004-06-10 Thread Stephen Pain
signed? But then I don't > think it needs to be when just running outside Web start. > > I'll have to do some googling and get back to you. Looks like JMS is going > to be my nemisis of the month. > > cheers, > > Paul Smith > > On Wed, 9 Jun 2004, Stephen

RE: JMSReceiver - chainsaw

2004-06-09 Thread Stephen Pain
vs, will you be able to verify by trying it out with the ant version? cgheers, Paul On Wed, 9 Jun 2004, Stephen Pain wrote: > > here's the unified diff - sorry for the delay... > > Cheers, > Stephen > > $ diff -u JMSReceiver.java.old JMSReceiver.java > --- JMSReceive

RE: JMSReceiver - chainsaw

2004-06-09 Thread Stephen Pain
I have made the changes, and signed and uploaded. Now just crossing fingers. I have added your name to the JMSReceiver java file, I hope you don't mind. cheers, Paul Smith On Wed, 9 Jun 2004, Stephen Pain wrote: > > here's the unified diff - sorry for the delay... > > Cheer

RE: JMSReceiver - chainsaw

2004-06-09 Thread Stephen Pain
of too, that doesn't involve any Classloader+SecurityManager trickery (Classloaders get very complicated in a Web start environment). Anyway, a Unified diff would help me a lot. cheers ,Paul On Tue, 8 Jun 2004, Stephen Pain wrote: > > Here's the patch... still thinking about t

RE: Update Web Start?

2004-06-08 Thread Stephen Pain
> Thanks -- it works just fine! I'm not convinced about that... a couple of bugs that had been fixed seem to have reappeared! The receivers are now being duplicated again if I restart/refresh all, and the restart doesn't seem to be working properly (ie, if I start chainsaw before I've started

RE: JMSReceiver - chainsaw

2004-06-08 Thread Stephen Pain
Paul Smith

XMLDecoder NullPointer

2004-06-07 Thread Stephen Pain
Hi - I've been having problems with XMLDecoder throwing a NullPointer this morning... after a bit of digging around I discovered that it occurs when trying to decode a message with more than 100 lines in the CDATA MSG tag. I made this quick change to XMLDecoder.java to allow me to read in the l