log = CSMART.createLogger("org.cougaar.tools.csmart.ui.console");
createLogger();
  public ConsoleNodeListener(CSMARTConsole console,			     NodeComponent nodeComponent,			     String logFileName, 			     NodeStatusButton statusButton,                             ConsoleStyledDocument doc) throws IOException {    log = CSMART.createLogger("org.cougaar.tools.csmart.ui.console");    this.console = console;    this.nodeComponent = nodeComponent;    nodeName = nodeComponent.toString();    // status button for node on console display    this.statusButton = statusButton;			           // wrap and capture to a log    this.logFileName = logFileName;    this.logFile = new BufferedWriter(new FileWriter(logFileName));    // save the document that contains node output    this.doc = doc;    // create our attributes    // stdout	0,0,0 (black)    // stderr	192,64,64 (dark red)    // Idle, Heartbeat	205,205,205 (light gray)    // Node created, Node destroyed, Cluster Added	64,64,192 (dark blue)    atts = new SimpleAttributeSet[4];    atts[0] = new SimpleAttributeSet();    StyleConstants.setForeground(atts[0], Color.black);    atts[1] = new SimpleAttributeSet();    StyleConstants.setForeground(atts[1], new Color(192, 64, 64));    atts[2] = new SimpleAttributeSet();    StyleConstants.setForeground(atts[2], new Color(205, 205, 205));    atts[3] = new SimpleAttributeSet();    StyleConstants.setForeground(atts[3], new Color(64, 64, 192));  }