au.edu.jcu.hpc.srb.mcatext.logging
Class Log4j_Init

java.lang.Object
  extended by au.edu.jcu.hpc.srb.mcatext.logging.Log4j_Init

public class Log4j_Init
extends java.lang.Object


Constructor Summary
Log4j_Init()
          Log4j_Init calls the constructor this(null).
Log4j_Init(java.io.InputStream LOG4J_CONFIG_FILE)
          Log4j_Init sets the location of the configuration file to initilize the log4j logging system with.
 
Method Summary
 void logConf()
          Log4j_Init initilizes the log4j logging system with the supplied configuration file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Log4j_Init

public Log4j_Init()
Log4j_Init calls the constructor this(null). Just uses the default configuration.


Log4j_Init

public Log4j_Init(java.io.InputStream LOG4J_CONFIG_FILE)
Log4j_Init sets the location of the configuration file to initilize the log4j logging system with.

Parameters:
LOG4J_CONFIG_FILE - the XML configuration file to used to configure the log4j logging system, if null then ./config/log4j.xml is tried, if that does not exist then the default configuration is used.
Method Detail

logConf

public void logConf()
Log4j_Init initilizes the log4j logging system with the supplied configuration file.



Copyright © 2008. All Rights Reserved.