Re: java.lang.NoSuchFieldError: errorHandler

2015-08-14 Thread Jinhong Lu
Goers : >>>>> >>>>> Please see - >>>>> >>>>>> >>>>>> >>>>> https://blogs.apache.org/foundation/entry/apache_logging_services_project_announces >>>>> >>>>> < >>

Re: java.lang.NoSuchFieldError: errorHandler

2015-08-14 Thread Xen
Thank you, it seems everything is so flexible that in the end it might not even matter? As long as you are willing to use the slf4j bridge / abstraction for example ?. ?. Right. Op 14-8-2015 om 22:06 schreef Douglas Wegscheid: No I meant my thing might need to run on older platforms. E.g. I

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 Gary Gregory
When I first read "cheap places" I thought of services like AWS ;-) G On Fri, Aug 14, 2015 at 1:00 PM, Xen wrote: > 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. > > Peopl

Re: java.lang.NoSuchFieldError: errorHandler

2015-08-14 Thread Xen
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. People are sometimes... idiosynchratic. I had (and have) a Debian based shell host that ran Java 1.5 after which they got rid of

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 Gary Gregory
I appreciate the passion. I wish it can be put to constructive use for log4j 2 :-) You might find it of interest that there is a recent mail thread to discuss having Log4j 2 process properties-based configurations, as we did in 1.2. Maybe the 1.2 compatibility module is an area that would be of in

Re: java.lang.NoSuchFieldError: errorHandler

2015-08-14 Thread Xen
Op 14-8-2015 om 19:10 schreef Douglas Wegscheid: 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. In that case you'd say something like easy there. that's pretty harsh treatment of other list participa

Re: java.lang.NoSuchFieldError: errorHandler

2015-08-14 Thread Xen
It's hard to argue with that. Maybe there is a flaw in my mind ;-). I just take the long-term perspective. I couldn't for the life of me write differently because it would F with my Mind. I have trouble as it is staying sane. Doing exactly what I want to do seems to be the best way to avoid th

Re: java.lang.NoSuchFieldError: errorHandler

2015-08-14 Thread Eric Schwarzenbach
hadoop, kafka, they all use log4j1.x 2015-08-14 13:25 GMT+08:00 Ralph Goers: Please see - https://blogs.apache.org/foundation/entry/apache_logging_services_project_announces < https://blogs.apache.org/foundation/entry/apache_logging_services_project_announces . Ralph On Aug 13,

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 Xen
nd deploy for java 5. Seeing as that, whatever. Anyway I'll go and send that email I guess. Op 14-8-2015 om 8:05 schreef Jinhong Lu: you mean upgrade to log4j2? but all my projects, including spark, hadoop, kafka, they all use log4j1.x 2015-08-14 13:25 GMT+08:00 Ralph Goers: Please see - https://blogs.ap

Re: java.lang.NoSuchFieldError: errorHandler

2015-08-14 Thread Xen
lph On Aug 13, 2015, at 10:08 PM, Jinhong Lu wrote: I met this exception when using syslogappender. my log4j version is 1.2.16. Any idea? thanks. java.lang.NoSuchFieldError: errorHandler at org.apache.log4j.net .SyslogAppender.setSyslogHost(SyslogAppender.java:391) ~[log4j-1.2.16.jar

Re: java.lang.NoSuchFieldError: errorHandler

2015-08-14 Thread Remko Popma
seeing things I guess. I have Java 8 on the > windows machine, 7 on my new debian VPS, but I was seriously planning to > develop and deploy for java 5. > > Seeing as that, whatever. Anyway I'll go and send that email I guess. > > > > Op 14-8-2015 om 8:05 schreef Jinhong

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
5-08-14 13:25 GMT+08:00 Ralph Goers : >>>>> >>>>> Please see - >>>>> >>>>>> >>>>>> >>>>> https://blogs.apache.org/foundation/entry/apache_logging_services_project_announces >>>>> >

Re: java.lang.NoSuchFieldError: errorHandler

2015-08-14 Thread Xen
pache_logging_services_project_announces < https://blogs.apache.org/foundation/entry/apache_logging_services_project_announces . Ralph On Aug 13, 2015, at 10:08 PM, Jinhong Lu wrote: I met this exception when using syslogappender. my log4j version is 1.2.16. Any

Re: java.lang.NoSuchFieldError: errorHandler

2015-08-14 Thread Xen
version is 1.2.16. Any idea? thanks. java.lang.NoSuchFieldError: errorHandler at org.apache.log4j.net .SyslogAppender.setSyslogHost(SyslogAppender.java:391) ~[log4j-1.2.16.jar:na] at com.netease.sytopology.util.MySysLogger.(MySysLogger.java:39) ~[stormjar.jar:na] at com.netease.s

Re: java.lang.NoSuchFieldError: errorHandler

2015-08-14 Thread Mikael Ståldal
gt;>>> >>>> >>> https://blogs.apache.org/foundation/entry/apache_logging_services_project_announces >>> >>>> . >>>>> >>>> Ralph >>>> >>>> On Aug 13, 2015, at 10:08 PM, Jinhong Lu wrote: &

Re: java.lang.NoSuchFieldError: errorHandler

2015-08-14 Thread Xen
Aug 13, 2015, at 10:08 PM, Jinhong Lu wrote: I met this exception when using syslogappender. my log4j version is 1.2.16. Any idea? thanks. java.lang.NoSuchFieldError: errorHandler at org.apache.log4j.net.SyslogAppender.setSyslogHost(SyslogAppender.java:391) ~[log4j-1.2.16.jar:

Re: java.lang.NoSuchFieldError: errorHandler

2015-08-14 Thread Mikael Ståldal
> > > Ralph > > > > > On Aug 13, 2015, at 10:08 PM, Jinhong Lu wrote: > > > > > > I met this exception when using syslogappender. > > > > > > my log4j version is 1.2.16. > > > > > > Any idea? thanks. > > > >

Re: java.lang.NoSuchFieldError: errorHandler

2015-08-13 Thread Jinhong Lu
oundation/entry/apache_logging_services_project_announces > >. > > Ralph > > > On Aug 13, 2015, at 10:08 PM, Jinhong Lu wrote: > > > > I met this exception when using syslogappender. > > > > my log4j version is 1.2.16. > > > > Any ide

Re: java.lang.NoSuchFieldError: errorHandler

2015-08-13 Thread Ralph Goers
syslogappender. > > my log4j version is 1.2.16. > > Any idea? thanks. > > > > > java.lang.NoSuchFieldError: errorHandler > at > org.apache.log4j.net.SyslogAppender.setSyslogHost(SyslogAppender.java:391) > ~[log4j-1.2.16.jar:na] > at com.ne

java.lang.NoSuchFieldError: errorHandler

2015-08-13 Thread Jinhong Lu
I met this exception when using syslogappender. my log4j version is 1.2.16. Any idea? thanks. java.lang.NoSuchFieldError: errorHandler at org.apache.log4j.net.SyslogAppender.setSyslogHost(SyslogAppender.java:391) ~[log4j-1.2.16.jar:na] at