Deprecated API


Contents
Deprecated Fields
org.apache.log4j.LogManager.CONFIGURATOR_CLASS_KEY
          This variable is for internal use only. It will become private in future versions. 
org.apache.log4j.Priority.DEBUG
          Use Level.DEBUG instead. 
org.apache.log4j.LogManager.DEFAULT_CONFIGURATION_FILE
          This variable is for internal use only. It will become package protected in future versions. 
org.apache.log4j.LogManager.DEFAULT_CONFIGURATION_KEY
          This variable is for internal use only. It will become private in future versions. 
org.apache.log4j.LogManager.DEFAULT_INIT_OVERRIDE_KEY
          This variable is for internal use only. It will become private in future versions. 
org.apache.log4j.Priority.ERROR
          Use Level.ERROR instead. 
org.apache.log4j.Priority.FATAL
          Use Level.FATAL instead. 
org.apache.log4j.Priority.INFO
          Use Level.INFO instead. 
org.apache.log4j.spi.Filter.next
          As of 1.2.12, use Filter.getNext() and Filter.setNext(org.apache.log4j.spi.Filter) instead 
org.apache.log4j.Priority.WARN
          Use Level.WARN instead. 
 

Deprecated Methods
org.apache.log4j.Priority.getAllPossiblePriorities()
          This method will be removed with no replacement. 
org.apache.log4j.Category.getCurrentCategories()
          Please use LogManager.getCurrentLoggers() instead. 
org.apache.log4j.Priority.toPriority(int)
          Please use the Level.toLevel(int) method instead. 
org.apache.log4j.Priority.toPriority(int, Priority)
          Please use the Level.toLevel(int, Level) method instead. 
org.apache.log4j.Priority.toPriority(String)
          Please use the Level.toLevel(String) method instead. 
org.apache.log4j.Priority.toPriority(String, Priority)
          Please use the Level.toLevel(String, Level) method instead. 
 



Copyright © 1999-2014 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.