i'm having this config..
i would like to print out error and fatal msgs in the Main class of
loggingexample package, how come it is still printing debug level and above
msgs?
appreciate any help
<appender name="A1" class="org.apache.log4j.ConsoleAppender">
<layout class="org.apache.log4j.PatternLayout">
<!-- Print the date in ISO 8601 format -->
<param name="ConversionPattern" value="%d [%t] %-5p %c - %m%n"/>
</layout>
</appender>
<logger name="loggingexample.Main">
<level value="error"/>
</logger>
<root>
<level value="debug"/>
<appender-ref ref="A1" />
</root>