-
Deprecated Classes
-
Deprecated FieldsFieldDescriptionsince 1.3since 1.3Options are now handled using the JavaBeans paradigm. This constant is not longer needed and will be removed in the near term.Options are now handled using the JavaBeans paradigm. This constant is not longer needed and will be removed in the near term.Use
LogLog.DEBUG_KEY
instead.Options are now handled using the JavaBeans paradigm. This constant is not longer needed and will be removed in the near term.This variable is for internal use only. It will become private in future versions.This variable is for internal use only. It will become package protected in future versions.This variable is for internal use only. It will become private in future versions.This variable is for internal use only. It will become private in future versions.This field will be marked as private in future releases. Please do not access it directly. Use theLogEvent.getLoggerName()
method instead.This field will be marked as private in future releases. Please do not access it directly. Use theLogEvent.getLevel()
method instead.UseLevel.DEBUG
instead.UseLevel.ERROR
instead.UseLevel.FATAL
instead.UseLevel.INFO
instead.UseLevel.WARN
instead.As of 1.2.12, useFilter.getNext()
andFilter.setNext(org.apache.log4j.spi.Filter)
insteadThis field will be marked as private in future releases. Please do not access it directly. Use theLoggingEvent.getLoggerName()
method instead.This field will be marked as private in future releases. Please do not access it directly. Use theLoggingEvent.getLevel()
method instead.Options are now handled using the JavaBeans paradigm. This constant is not longer needed and will be removed in the near term.Options are now handled using the JavaBeans paradigm. This constant is not longer needed and will be removed in the near term.
-
Deprecated MethodsMethodDescriptionPlease use
LogManager.exists(java.lang.String)
instead.Please use the theCategory.getEffectiveLevel()
method instead.Please useLogManager.getCurrentLoggers()
instead.Please useLogManager.getLoggerRepository()
instead.Please useCategory.getLoggerRepository()
instead.Please make sure to useLogger.getLogger(Class)
instead.Make sure to useLogger.getLogger(String)
instead.Please useCategory.getLevel()
instead.Please useLogger.getRootLogger()
instead.Please useCategory.setLevel(org.apache.log4j.Level)
instead.Please useLogManager.shutdown()
instead.Use the setter method for the option directly instead of the genericsetOption
method.Use the setter method for the option directly instead of the genericsetOption
method.as of 1.2.Please useHierarchy.getCurrentLoggers()
instead.Deprecated with no replacement.Deprecated with no replacement.This method will be removed with no replacement.Please use theLevel.toLevel(int)
method instead.Please use theLevel.toLevel(int, Level)
method instead.Please use theLevel.toLevel(String)
method instead.Please use theLevel.toLevel(String, Level)
method instead.We now use JavaBeans introspection to configure components. Options strings are no longer needed.Use the setter method for the option directly instead of the genericsetOption
method.Use getNullAppender instead. getInstance should have been static.We now use JavaBeans introspection to configure components. Options strings are no longer needed.Use the setter method for the option directly instead of the genericsetOption
method.
RootLogger
.