log 4j WARN

after adding below 2 lines of code (MaxFileSize,MaxBackupIndex)along with below 3 lines of code for my logger properties as below for Java Web application on weblogic server i am getting the error message on console during application startup as mentioned below

Logger Properties:

log4j.rootLogger=DEBUG, ASIM

log4j.appender.ASIM=org.apache.log4j.FileAppender

log4j.appender.ASIM.layout=org.apache.log4j.PatternLayout

log4j.appender.ASIM.MaxFileSize=1MB

log4j.appender.ASIM.MaxBackupIndex=10

Error Message

log4j:WARN No such property [maxFileSize] in org.apache.log4j.FileAppender.

log4j:WARN No such property [maxBackupIndex] in org.apache.log4j.FileAppender.

regards

Raghu

[775 byte] By [raghuveer_vellankia] at [2007-10-1 3:53:57]
# 1
As a guess, those values are associated with RollingFileAppender, not FileAppender.
jschella at 2007-7-8 22:45:58 > top of Java-index,Archived Forums,Debugging Tools and Techniques...
# 2
I had the same problem: yes, you need the RollingFileAppender.
kaimiddletona at 2007-7-8 22:45:58 > top of Java-index,Archived Forums,Debugging Tools and Techniques...