mirror of
https://github.com/apache/rocketmq.git
synced 2026-09-01 15:47:01 +08:00
Minor Polish
This commit is contained in:
@@ -98,7 +98,6 @@ public class ClientLogger {
|
||||
initialize.invoke(joranConfigurator, "log4j2", logConfigFilePath);
|
||||
}
|
||||
}
|
||||
//logClass = classType;
|
||||
} catch (Exception e) {
|
||||
System.err.println(e);
|
||||
}
|
||||
|
||||
@@ -43,9 +43,10 @@ public class ClientLoggerTest {
|
||||
|
||||
// FIXME: Workaround for concrete implementation for slf4j, is there any better solution for all slf4j implementations in one class ? 2017/8/1
|
||||
@Test
|
||||
public void testLog4j() throws Exception {
|
||||
public void testLog4j2() throws Exception {
|
||||
Logger logger = ClientLogger.getLog();
|
||||
|
||||
System.out.println(logger);
|
||||
assertEquals("org.apache.logging.slf4j.Log4jLogger", logger.getClass().getName());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user