On Wed, 23 Feb 2005 06:19:05 -0800, Jmeter Dev
<[EMAIL PROTECTED]> wrote:
> > It is still required, as far as I know. It's just not used in earnest.
> > Besides, it we are to add log4j support, it will be needed again.
> If it will be needed again in the future... why not
> adding it then???
> When the users see 'log4j.conf' they can think that they can just change
> the appenders and it will work...

OK, perhaps we can add a comment to the file.

> > If you do want to add log4j support, it should be done via Commons
> > Logging, not directly, because then users can actually change the
> > logging package very easily.
> >
> > Migrating to Commons Logging is on my TODO (one day) list ...
> Okay...
> If I understand you correctly, the bottom line is that currently, I can
> not log (till you'll add Commons Logging )???

That's not what I meant.

You said that you wanted to add log4j support to JMeter.

If want the code to be considered for inclusion in a future release of
JMeter, it should be done via Commons Logging. Otherwise it's up to
you.

Commons Logging is already present, so you can write code that uses
Commons Logging.

Or you can use the existing JMeter logging package.

What is it about the the existing logging support that does not meet your needs?

> 
> On Wed, 23 Feb 2005 12:57:48 +0000, "sebb" <[EMAIL PROTECTED]> said:
> > On Wed, 23 Feb 2005 02:51:49 -0800, Jmeter Dev
> > <[EMAIL PROTECTED]> wrote:
> > > After I found out that JMeter does not support Log4J (guys, you can
> > > omit the log4j.conf file. it just confuse us, users), I'm trying to add
> >
> > It is still required, as far as I know. It's just not used in earnest.
> > Besides, it we are to add log4j support, it will be needed again.
> >
> > > this support by mayself.
> >
> > Why?
> >
> > If you do want to add log4j support, it should be done via Commons
> > Logging, not directly, because then users can actually change the
> > logging package very easily.
> >
> > Migrating to Commons Logging is on my TODO (one day) list ...
> >
> > Apache HTTPClient uses Commons Logging, so all the jars are present
> > anyway.
> >
> > >
> > > After importing org.apache.log4j.Logger and writing something like:
> > > protected static Logger myLog =
> > > Logger.getLogger(MyClass.class.getName());
> > > I'm getting this exception during runtime:
> > > java.lang.NoClassDefFoundError: org/apache/log4j/Logger
> > >         at expansion.extractor.MyClass.<clinit>(MyClass.java:25)
> > >         at java.lang.Class.forName0(Native Method)
> > >         at java.lang.Class.forName(Unknown Source)
> > >
> > > any ideas?

Try adding log4j to the classpath.

> > > Thanks.
> > > --
> > >   Jmeter Dev
> > >   [EMAIL PROTECTED]
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> --
>   Jmeter Dev
>   [EMAIL PROTECTED]
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to