@Test
public void testLogWarning() throws Exception {

    assertNotNull(logger);
    File newLogFile = configureLogPath(logger);
    String msg = "This is a {0} test";
    String param1 = "warning";
    logger.warn(msg, param1);
    String fileMsg = retrieveLogContents(newLogFile);
    System.out.println("The File Message: " + fileMsg);
    assertTrue(fileMsg.contains("WARN  " + KLogger.class.getName() + "  - " + msg.replace("{0}", param1)));
}