Logging only "INFO" level in Log4j

Hi,

m trying to log only INFO level messages and send them to the File Appender.Can anyone plz help me out .I have used

<filter class="org.apache.log4j.varia.LevelRangeFilter">

<param name="LevelMin" value="INFO"/>

<param name="LevelMax" value="INFO"/>

</filter>

The output prints only the INFO level messages but with error:

log4j:ERROR Parsing error on line 24 and column 14

log4j:ERROR The content of element type "appender" must match "(errorHandler?,param*,layout?,filter*,appender-ref*)".

The line 24 in xml configuration is: </appender>

[639 byte] By [Welcome-1a] at [2007-11-27 3:35:04]
# 1
Add these jars "xmlParserAPIs.jar" and "xml-apis.jar". Hope this will help you.
Deejaia at 2007-7-12 8:38:13 > top of Java-index,Java Essentials,Java Programming...
# 2
> log4j:ERROR The content of element type "appender" must match "(errorHandler?,param*,layout?,filter*,appender-ref*)".Please show the full configuration, if not the full appender element (at the very least).~
yawmarka at 2007-7-12 8:38:13 > top of Java-index,Java Essentials,Java Programming...
# 3
http://supportweb.cs.bham.ac.uk/documentation/tutorials/docsystem/build/tutorials/log4j/log4j.html#LOG4J-BasicsCheck this link and find what have you missed..
Deejaia at 2007-7-12 8:38:13 > top of Java-index,Java Essentials,Java Programming...