// 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
import jalview.javascript.log4j.spi.OptionHandler;
import org.apache.log4j.PatternLayout;
-import org.apache.log4j.TTCCLayout;
+//import org.apache.log4j.TTCCLayout;
public abstract class Layout implements OptionHandler
{