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

--- Comment #16 from Gary Gregory <[email protected]> ---
(In reply to Jess Holle from comment #13)
> (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.

I hear you. I have a big work project that is deeply intertwined in log4jj 1.2
and it's quite likely to stay there... For new projects we use v2.

-- 
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