Re: Programmatic configuration => NPE

2016-06-10 Thread Douglas Wegscheid
what does MyConfigurationFactory look like? *■ DOUGLAS E. WEGSCHEID* // Lead Analyst, Information Security (269) 923-5278 // douglas_e_wegsch...@whirlpool.com "A wrong note played hesitatingly is a wrong note. A wrong note played with conviction is interpretation." On Fri, Jun 10, 2016 at 3:30 A

Re: controlling the status logger output?

2016-03-07 Thread Douglas Wegscheid
On Mon, Mar 7, 2016 at 11:19 AM, Nicholas Duane wrote: > I guess we could write our own application which takes stdin and writes to > files and this could do the rolling file work. I would think something > like that might already exist in linux. > > Thanks, > Nick > take a look at the rotatelo

Re: Why is log4net not more similar to log4j(2)?

2015-09-18 Thread Douglas Wegscheid
is something like jni4net an interim solution? Use log4j2 as is, just expose the logging methods to .Net? All the guts would still be log4j2. Yes, a little icky and clunky (and possibly not even viable), but just throwing it out there *■ DOUGLAS E. WEGSCHEID* // Lead Analyst, Directories (269

Re: java.lang.NoSuchFieldError: errorHandler

2015-08-14 Thread Douglas Wegscheid
> No I meant my thing might need to run on older platforms. E.g. I might > want to run it on shell hosts or general cheap places, or interest other > people in running it. > yes, if you are constrained to running on a JDK 5 platform, then finding a suitable version of slf4j is one way to get it do

Re: java.lang.NoSuchFieldError: errorHandler

2015-08-14 Thread Douglas Wegscheid
> > > Of course I can do that but not if my logging library requires greater. > Right? Or should I (be able to) write against slf4j and then run on older > systems by binding to an older version of Log4j?. > Write Java 5 style code, usel log4j2 2.4, compile it with Java 7, run it on Java 7. You ca

Re: java.lang.NoSuchFieldError: errorHandler

2015-08-14 Thread Douglas Wegscheid
> So you are saying that you would simply add a log4j1 to log4j2 bridge > right. And those libraries that use the old version then automatically use > the bridge. And everything runs agains the new version then regardless. > yep. they designed it to do that, and it works as advertised. I used to b

Re: java.lang.NoSuchFieldError: errorHandler

2015-08-14 Thread Douglas Wegscheid
> > > I must say though: > > "We are so happy with the quality and stability of Log4j 2, we are > convinced it is a fantastic replacement for Log4j 1." > > That's clearly a lie. You wouldn't say these things if you were really > happy and really convinced it'd be a replacement. That is make believe

Re: java.lang.NoSuchFieldError: errorHandler

2015-08-14 Thread Douglas Wegscheid
which is the reason that projects aren't 'complying'? - v2 is not better than v1 - the upgrade path and bridge jars mean the upgrading is really not necessary. I suspect it's the 2nd: why put a bunch of work into reworking all the logging in my library (and forcing my users to change the

Re: adding log4j 2.x support to a library

2015-04-29 Thread Douglas Wegscheid
two possibilities offhand: either continue to use the 1.2 API (which can be bridged to 2.x), or switch to logging to slf4j (which can be bridged to about anything). I'm sure that there are more possibilities. *■ DOUGLAS E. WEGSCHEID* // Lead Analyst, Directories (269) 923-5278 // douglas_e_wegsch

Re: Redirect log4j to JUL

2015-01-05 Thread Douglas Wegscheid
yes, it's a trap. You can be the great liberator and write the code necessary to go the other way :-) *■ DOUGLAS E. WEGSCHEID* // Lead Analyst, Directories (269) 923-5278 // douglas_e_wegsch...@whirlpool.com "A wrong note played hesitatingly is a wrong note. A wrong note played with conviction is