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>

