logViewerVC.contextPut("loggingPackage", loggingPackage);
// Create logger for requested package and add a string writer appender
log4JLogger = Logger.getLogger(loggingPackage);
writer = new StringWriter();
Layout layout = new PatternLayout("%d{HH:mm:ss} %-5p [%t]: %m%n");
writerAppender = new WriterAppender(layout, writer);
writerAppender.setThreshold(level);
log4JLogger.addAppender(writerAppender);
updateLogViewFromWriter();
// Add job to read from the string writer every second
try {