Migration to SLF4J logging in SWTBot 4.0 [message #1852806] |
Sat, 04 June 2022 15:14 |
Aparna Argade Messages: 61 Registered: October 2010 |
Member |
|
|
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 https://wiki.eclipse.org/SWTBot/UsersGuide#Migration_to_SLF4J_logging , see also https://wiki.eclipse.org/SWTBot/MigrationToSLF4J
Note that there are multiple ways to use SLF4J logging.
The above wiki will help to start with SLF4J migration.
Thanks,
Aparna
|
|
|
Powered by
FUDForum. Page generated in 0.16307 seconds