On 21-Jun-08, at 11:37 PM, Somesh Sasalatti wrote:
> Hi Ketan ,
> How about providing a switch as a jvm argument to toggle debugging
>
Since Log4j is used under the covers, turning log4j off will turn off
log4j logging globally.
This may be a problem if your application does logging via Log4j. You
can consider writing a wrapper that calls DOMConfigurator.configure()
based on a system property.
Or better yet: Logger.getLogger("net.sf.swtbot").setLevel(Level.INFO);
That way you can control logging levels *while* running tests.
-- Ketan
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
SWTBot-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/swtbot-users
http://swtbot.org/ - a functional testing tool for SWT/Eclipse