// need to create a new log4j hierarchy so values in log4j.xml are ignored
observerLogger = new Hierarchy(new RootLogger(Level.DEBUG)).getLogger(this.getClass().getName());
PatternLayout layout = new PatternLayout();
layout.setConversionPattern(conversionPattern);
try {
appender = new RollingFileAppender(layout, baseLogPath + jobRunId + ".log");
appender.setMaxBackupIndex(maxBackupIndex);
log.info("Log file for this run will be located at: " + appender.getFile());
observerLogger.addAppender(appender);
} catch (IOException e) {
log.error(e);