Deprecated API


Contents
Deprecated Fields
org.apache.log4j.EnhancedPatternLayout.BUF_SIZE
          since 1.3 
org.apache.log4j.pattern.LogEvent.categoryName
          This field will be marked as private in future releases. Please do not access it directly. Use the LogEvent.getLoggerName() method instead. 
org.apache.log4j.pattern.LogEvent.level
          This field will be marked as private in future releases. Please do not access it directly. Use the LogEvent.getLevel() method instead. 
org.apache.log4j.EnhancedPatternLayout.MAX_CAPACITY
          since 1.3 
 

Deprecated Methods
org.apache.log4j.rolling.RollingPolicyBase.getActiveFileName()
          Duplicates FileAppender.file and should be removed 
org.apache.log4j.filter.DenyAllFilter.getOptionStrings()
          We now use JavaBeans introspection to configure components. Options strings are no longer needed. 
org.apache.log4j.rolling.RollingPolicyBase.setActiveFileName(String)
          Duplicates FileAppender.file and should be removed 
org.apache.log4j.filter.DenyAllFilter.setOption(String, String)
          Use the setter method for the option directly instead of the generic setOption method. 
 

Deprecated Constructors
org.apache.log4j.pattern.FormattingInfo(boolean, int, int)
          since 1.2.17 
 



Copyright © 2010 The Apache Software Foundation. Licensed under the Apache License, Version 2.0

Apache Extras Companion for Apache log4j, Apache log4j and Apache are trademarks of the Apache Software Foundation.