Skip to content

Commit

Permalink
Minor Polish
Browse files Browse the repository at this point in the history
  • Loading branch information
vongosling committed Aug 28, 2017
1 parent 76464ba commit 4c5e58b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ private static Logger createLogger(final String loggerName) {
initialize.invoke(joranConfigurator, "log4j2", logConfigFilePath);
}
}
//logClass = classType;
} catch (Exception e) {
System.err.println(e);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,10 @@ public void cleanFiles() {

// 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());
}
}

0 comments on commit 4c5e58b

Please sign in to comment.