it.geosolutions.tools.commons.logging
Class Log4JCheck

java.lang.Object
  extended by it.geosolutions.tools.commons.logging.Log4JCheck

public class Log4JCheck
extends Object


Constructor Summary
Log4JCheck()
           
 
Method Summary
static boolean isConfigured()
          Returns true if it appears that log4j have been previously configured.
static void printInfo()
          print info about registered appenders
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Log4JCheck

public Log4JCheck()
Method Detail

isConfigured

public static boolean isConfigured()
Returns true if it appears that log4j have been previously configured. This code checks to see if there are any appenders defined for log4j which is the definitive way to tell if log4j is already initialized see also: http://www.basilv.com/psd/blog/2007/how-to-add-logging-to-ant-builds


printInfo

public static void printInfo()
print info about registered appenders



Copyright © 2011-2012 GeoSolutions. All Rights Reserved.