Enterprise Information Portal APIs

com.ibm.gcs.component.config
Class LoggerConfig

java.lang.Object
  |
  +--com.ibm.gcs.component.config.LoggerConfig

public class LoggerConfig
extends java.lang.Object

This part of the Globals Config represents the Logger settings.

The settings come from the logger-list element, which has zero or more logger children and no attributes.

Each logger element has the following attributes: category (optional) specifies the logger category. priority (optional) specifies the logger priority, with a value of TRACE, DEBUG, INFO, WARN, or ERROR (case insensitive). log-file (optional) specifies a log file to use; if it starts with a '+' the log file will be appended to other log files for this logger. log-layout (optional) specifies the layout of the log file (see {@see com.ibm.log4j.PatternLayout}); this will only be used if a log-file was specified. Remember that all specified properties are inherited by child categories (unless overridden by the child). The logger element has no children.

See Also:
Globals, Config, Logger

Constructor Summary
LoggerConfig(org.w3c.dom.Element element)
          (constructor)
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoggerConfig

public LoggerConfig(org.w3c.dom.Element element)
             throws ConfigException
(constructor)
Parameters:
element - logger node

EIP Web Crawler APIs

(c) Copyright International Business Machines Corporation 1996, 2002. IBM Corp. All rights reserved.