https://bz.apache.org/bugzilla/show_bug.cgi?id=51047

--- Comment #13 from Jess Holle <[email protected]> ---
(In reply to Gary Gregory from comment #12)
> You patch uses Java 5 and Log4j 1 is on Java 1.4, so that's a no go anyway
> :-(

I've long since given up and been building and relying upon my own patched
log4j 1.2.17 that addresses many such issues by requiring Java 6 and eschewing
absolute compatibility with log4j extensions.

There's lot of simple tricks, e.g. using a CopyOnWriteArrayList for the
appenders, hoisting layout formatting out of the sync block on an opt-in basis,
etc.

Yes, log4j 2.x is now out and I should probably look at it more.  That said,
when you have a lot of custom log4j 1.x appenders and layouts and loads of code
log4j 1.2 and a sizeable portion of it using API's beyond the "simple" set,
this is a non-trivial undertaking.  Getting better performance out of 1.2.x
until one has time for that undertaking only makes sense.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to