Skip to content

Instantly share code, notes, and snippets.

Created October 23, 2015 03:20
What would you like to do?
public static Logger createLogger() {
Logger aLogger = LogManager.getRootLogger();
aLogger.debug("\n" + "Inside createLogger - Logger is being set up. New test setup beginning.");
verificationErrors = new StringBuffer();"Logger has been set up.");
return aLogger;
protected static void createLogFile (FirefoxProfile fp) throws Exception {
File outfile = new File(outfileName);
if (!outfile.exists())
fp.setPreference("webdriver.log.driver", "DEBUG");
fp.setPreference("webdriver.log.file", outfileName);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment