Thanks to everyone who helped me with this one. Indeed it was looking at some
other log4j.properties file. Our build.xml seems to be set up a little
differently than maybe was intended (nobody can remember why we set it up the
way we did), but I got this to work by adding a pathelement as shown in
classpath.xml. Now it gets the correct log4j.properties which has log level
set to info, which is what I wanted. Yay!
For the benefit of those who may have theirs set up similarly to ours, here is
what the taskdef looks like now in our build.xml:
<target name="canoo-taskdef" depends="init">
<taskdef file="${webtesthome}/webtestTaskdefs.properties">
<classpath>
<path refid="deployed-libraries-classpath"/>
<path refid="testing-libraries-classpath"/>
<pathelement location="${webtesthome}/lib"/>
<fileset dir="${webtesthome}" includes="**/lib/*.jar"/>
<fileset dir="${webtesthome}" includes="**/lib/runtime/*.jar"/>
<fileset dir="${webtesthome}"
includes="**/lib/plugins/**/*.jar"/>
<pathelement path="${webtesthome}/lib"/>
</classpath>
</taskdef>
</target>
-------------- Original message ----------------------
From: Ji Yun Kim <[EMAIL PROTECTED]>
> The message level is set in log4j.properties which is set to INFO
> where you get all those messages. I don't know if you use build.zip
> (log4j.properties in the lib) or check out from the repository
> (log4j.properties is also in log4j folder under lib) or how you
> update your webtest.home directory (delete and add or update). You
> might want to verify that you are actually running the new version of
> Canoo by adding one of new test steps. I remember that I did have to
> change the path in the classpath.xml so that it looks at the right
> log4j.properties when i checked out from the repository a few months
> ago.
>
> On Sep 13, 2006, at 10:59 AM, Lisa Crispin wrote:
>
> > Hi,
> > I just installed build 1393, the one I had installed previously is
> > 1159. We are starting to write new tests in WebTest again (WATIR
> > is nice but the tests are much more expensive to write and
> > maintain, and WebTest seems to be much better with Javascript these
> > days) and I wanted to get up to date.
> >
> > So far, so good, but I noticed that I no longer get all that
> > comforting information to my sysout that I got from build 1159.
> > I've looked around in the archives and the doc but I can't find
> > whether there is some option someplace to control that, or what?
> > It doesn't really matter, I get output when it counts (when it
> > fails) but somehow I liked it when more than just the test name
> > scrolled by.
> > thanks
> > Lisa
> > _______________________________________________
> > WebTest mailing list
> > [email protected]
> > http://lists.canoo.com/mailman/listinfo/webtest
>
> _______________________________________________
> WebTest mailing list
> [email protected]
> http://lists.canoo.com/mailman/listinfo/webtest
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest