@Test
    public void testJclOverLog4jConversion() {
        // running jcl to slf4j conversion
        // JCLMatcher jclMatcher =
        LineConverter jclLineConverter = new LineConverter(new JCLRuleSet());
        // no changes on log4j.LogManager import
        assertEquals("import org.apache.log4j.LogManager;", jclLineConverter.getOneLineReplacement("import org.apache.log4j.LogManager;"));
        // no changes on log4j.Logger import
        assertEquals("import org.apache.log4j.Logger;", jclLineConverter.getOneLineReplacement("import org.apache.log4j.Logger;"));
        // no changes on Logger instanciation using LogManager
        assertEquals("Logger log = LogManager.getLogger(MyClass.class);",
                        jclLineConverter.getOneLineReplacement("Logger log = LogManager.getLogger(MyClass.class);"));
        // no changes on Logger instanciation using Logger.getLogger
        assertEquals("public static Logger mylog1 = Logger.getLogger(MyClass.class);",
                        jclLineConverter.getOneLineReplacement("public static Logger mylog1 = Logger.getLogger(MyClass.class);"));
    }
This test shows that performing JCL to SLF4J conversion has no impact on
Log4j implementation
slf4j-migrator/src/test/java/org/slf4j/migrator/line/NoConversionTest.java