// TODO: redirect stdout and stderr here in order to grab the output of
// the log
- ConsoleAppender ap = new ConsoleAppender(new SimpleLayout(),
- "System.err");
+ ConsoleAppender ap = new ConsoleAppender();
+ ap.setLayout(new SimpleLayout());
+ // ap.setTarget("System.err");
ap.setName("JalviewLogger");
org.apache.log4j.Logger.getRootLogger().addAppender(ap); // catch all for
// log output