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 20:51 Go to next message
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
Re: log4j warning message after reading FAQ [message #1202644 is a reply to message #822533] Fri, 22 November 2013 08:43 Go to previous message
pascale prost is currently offline pascale prost
Messages: 2
Registered: November 2013
Junior Member
Hello Mike,

Did you solve your problem ? I have the same issue and I would be interrested in the solution if you found it ...

I have of course newer versions of all packages, this is my MANIFEST.MF :

Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: First
Bundle-SymbolicName: com.prostp.swtbotTestPlugin.first;singleton:=true
Bundle-Version: 1.0.0.qualifier
Bundle-ActivationPolicy: lazy
Bundle-Vendor:
PROSTP
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Require-Bundle: org.eclipse.ui;bundle-version="3.105.0",
org.eclipse.core.runtime;bundle-version="3.9.0",
org.eclipse.debug.core;bundle-version="3.8.0",
org.eclipse.swtbot.eclipse.finder;bundle-version="2.1.1",
org.eclipse.swtbot.junit4_x;bundle-version="2.1.1",
org.junit;bundle-version="4.11.0",
org.hamcrest.library;bundle-version="1.3.0",
org.apache.log4j;bundle-version="1.2.15",
org.eclipse.swtbot.go;bundle-version="2.1.1"
Eclipse-RegisterBuddy: org.apache.log4j


Thanks ahead,

Pascale
Previous Topic:How to update a value in a particular cell in SwtBotTree
Next Topic:Timeout for test
Goto Forum:
  


Current Time: Fri Sep 19 22:14:52 GMT 2014

Powered by FUDForum. Page generated in 0.01616 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software