Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » SWTBot » log4j warning message after reading FAQ
log4j warning message after reading FAQ [message #822533] Fri, 16 March 2012 16:51
mike fulton is currently offline mike fulton
Messages: 3
Registered: December 2011
Junior Member
Hi

After following the suggestions in the FAQ, I am still getting a warning regarding log4j.xml:

log4j:WARN No appenders could be found for logger (org.eclipse.swtbot.swt.finder.matchers.AbstractMatcher).
log4j:WARN Please initialize the log4j system properly.

Note the particular class it is complaining about is different than the one in the FAQ - not sure if that matters...

I have put the log4j.xml in my 'src' directory and I have updated my MANIFEST.MF to now include the changes recommended from the FAQ:


Require-Bundle: org.eclipse.swtbot.swt.finder;bundle-version="2.0.5",
org.eclipse.swtbot.eclipse.finder;bundle-version="2.0.5",
org.hamcrest;bundle-version="1.1.0",
org.apache.log4j;bundle-version="1.2.15",
org.junit4;bundle-version="4.8.1",
org.eclipse.ui.browser;bundle-version="3.3.100",
org.eclipse.swtbot.eclipse.ui;bundle-version="2.0.5",
org.eclipse.swtbot.eclipse.core;bundle-version="2.0.5",
org.eclipse.swtbot.go,
org.apache.log4j

Eclipse-RegisterBuddy: org.apache.log4j


Thank you, in advance, for your help

Mike
 
Read Message
Previous Topic:Problem executing SWTbot+Junit4 test
Next Topic:source level debug of SWTBot code
Goto Forum:
  


Current Time: Tue May 21 08:25:42 EDT 2013

Powered by FUDForum. Page generated in 0.18656 seconds