On 21 Aug 2002 at 10:06, Berin Loritsch wrote: > > From: Mike Stover [mailto:[EMAIL PROTECTED]] > > > > On the other hand, I've never had any success getting output > > from Log4j, and I pretty much > > hate the whole thing. My preferred solution is a simple > > class that handles log requests. I don't > > see much need for anything more complicated than that. > > You mean like the ConsoleLogger and the NullLogger?
I don't know, since I never looked at them. At my last job, we had a single class that served as the entry into Log4j. It provided a simple interface for us to call to log whatever we wanted. It took care of talking to Log4j. Such a class would make switching log implementations easier too. -Mike > > > > > > -Mike > > > > On 21 Aug 2002 at 15:49, Wolfram Rittmeyer wrote: > > > > > log4j is already in the lib-path (though not the actual one - you > > > still have to use Category instead of Logger for instance). > > It works > > > perfectly well in conjunction with JMeter. And log4j is > > already in use > > > - though not in general. If you swith to DEFAULT (in > > bin/log4j.conf) > > > you already get a whole lot of logging. > > > > > > Anyway: I agree with you that this should be the normal way > > of dealing > > > with any output that has to be generated (e.g. > > > TableVisualizer/TableDataModel produces a lot of > > System.out-messages). > > > Maybe we could even migrate to the commons-logging-library > > since this > > > would allow JDK1.4 users to utilize JDK-logging while those > > preferring > > > log4j or using older JDKs can do so as well. > > > > > > And finally: Shame on me! I still used "System.out" in > > > DurationAssertionGui. I'm going to correct that ;-) > > > > > > Greetings, > > > > > > Wolfram > > > > > > > > > > > > > > > > > > -- > > > To unsubscribe, e-mail: > > <mailto:jmeter-dev-> [EMAIL PROTECTED]> > > > For > > additional commands, > > e-mail: > > > <mailto:[EMAIL PROTECTED]> > > > > > > > > > > > -- > > Michael Stover > > [EMAIL PROTECTED] > > Yahoo IM: mstover_ya > > ICQ: 152975688 > > > > -- > > To unsubscribe, e-mail: > > <mailto:jmeter-dev-> [EMAIL PROTECTED]> > > For > > additional commands, > > e-mail: <mailto:[EMAIL PROTECTED]> > > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > -- Michael Stover [EMAIL PROTECTED] Yahoo IM: mstover_ya ICQ: 152975688 -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
