unannoy.util
Class Log4JInit

java.lang.Object
  |
  +--unannoy.util.Log4JInit

public class Log4JInit
extends java.lang.Object

Provides static function for initialising log4j via a PropertyConfigurator which reads a file specified by system variable "log4j.configuration". This should be a temporary file.

Version:
$Revision:$
$Date:$
Author:
Eric Kow (kow at loria point fr)

Constructor Summary
Log4JInit()
           
 
Method Summary
static void forceInit()
          Initialises log4j without verifying that it has not already been initialised.
static void init()
          The first time this is called, initialises log4j.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Log4JInit

public Log4JInit()
Method Detail

init

public static void init()
The first time this is called, initialises log4j.


forceInit

public static void forceInit()
Initialises log4j without verifying that it has not already been initialised.

See Also:
init()