On 17/04/2007, at 4:38 PM, Curt Arnold wrote:
On Apr 17, 2007, at 12:14 AM, Paul Smith wrote:
Curt, many thanks for your efforts to get this this far. I've
followed the below steps, and it's _almost_ working.
I think the Receivers module will need to have a copy of
org.apache.log4j.varia.LogFilePatternReceiver as well. I can do
an svn copy over from the 1.3 tree, rebuild the receivers module
and we should be on our way.
Okay, I didn't see a compile time dependency on it.
The pom.xml will need to be modified to add a dependency from
receivers to expression-filter.
The code has a lot of style issues (including some tabs) and an old-
style copyright notice.
Yes, but Chainsaw did have those before, so I'm not fussing over the
check style issues just yet. The copyright ones are probably a
higher priority given the legalese of it all. I tried using that
license-fixy script with no success before, but perhaps I was just
being dumb. I'd like to get Chainsaw built and running with 1.2.15
before I tackle that.
The code would need to be modified to use the new LoggingEvent
constructor.
Yep, I'll do that when I've got that copied over.
I'm pretty much in the dark on the Chainsaw build and release
process and that is likely to need to change.
The ant build.xml can has a 'webstart-dist' target and an 'iOrb' type
target. They generate and sign the jar files (it prompts you for a
local keystore and certificate passwords during the signing process;
I have my thawte certificate loaded in a keystore locally). I think
I had a target that uploads those signed stuff to the area where the
Webstart bundle is kept, but due to symlink weirdness with Webstart,
there's still a bit of hand moving of files around during the
deployment.
Any thoughts on potentially Mavenizing Chainsaw?
I have to admit, I'm no big fan of Maven. Mostly because I don't use
it, nor really understand it's benefit over ant. If you could think
of why switching to Maven would be a good thing for Chainsaw, then
I'm all ears, but the current process does work, and there are plenty
of other things to do in Chainsaw ahead of that, IHMO.
A Chainsaw release would require another pass at a log4j 1.2.15
release and some resolution to the home permanent of component,
expression-filter and receivers. component and receivers could be
merged and/or made a subproject of Chainsaw. I think expression-
filters is worthwhile as a log4j 1.2 companion. If we were to do
expression-filters as a companion, I'd like to have pattern-layout
ready about the same time.
I think bundling Receivers with Chainsaw will hide the usefulness of
them to a broader audience. I'm happy for them to be standalone
additional packages like they are now.
I'm going to sleep now. I may take a run at LogFilePatternReceiver
tomorrow unless you want to take it.
My days seem to fly by so quickly. I'm trying desperately to gain
control over time so I can get my hands dirty again. I'm happy to
take on the LogFilePatternReceiver. If you have more knowledge of
the source header fixy script, it would be well appreciated,
otherwise I'll tackle that afterwards.
cheers,
Paul