Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » SWTBot » Migration to SLF4J logging in SWTBot 4.0
Migration to SLF4J logging in SWTBot 4.0 [message #1852806] Sat, 04 June 2022 15:14
Aparna Argade is currently offline Aparna ArgadeFriend
Messages: 60
Registered: October 2010
Hi everyone,
This is to inform about an important change in the upcoming release 4.0.

SWTBot 4.0.0 has removed its use of org.apache.log4j and is instead using the org.slf4j.api facade for its logging. See Bug 578065 for this change.
This migration to SLF4J would give flexibility of using any of the logging mechanism, e,g. simple, log4j, logback, etc.
Earlier log4j used to come with SWTBot but that could give trouble when the application under test normally includes a different logging back-end.

The users of SWTBot 4.0 have to include one of the SLF4J Binders to get log messages from SWTBot tests.
There is a wiki page , see also
Note that there are multiple ways to use SLF4J logging.
The above wiki will help to start with SLF4J migration.
Previous Topic:Test class not found when run from command line
Next Topic:Triggering a mouse hover event on a toolbar item
Goto Forum:

Current Time: Mon Mar 04 05:20:55 GMT 2024

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

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

Back to the top