B
brian.dick
I am setting the Threshold to INFO, but I only get messages of level
ERROR. What am I doing wrong?
<appender name="SMTPNOTIFY" class="org.apache.log4j.net.SMTPAppender">
<param name="Threshold" value="INFO"/>
<param name="To" value="xxxx"/>
<param name="From" value="xxxx"/>
<param name="Subject" value="xxxx"/>
<param name="SMTPHost" value="xxxx" />
<param name="BufferSize" value="1" />
<filter class="org.apache.log4j.varia.StringMatchFilter">
<param name="StringToMatch" value="FCM_NOTIFY:" />
<param name="AcceptOnMatch" value="True" />
</filter>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%-6d{ISO8601} %-5p [%t]
%c{2} - %m%n"/>
</layout>
</appender>
ERROR. What am I doing wrong?
<appender name="SMTPNOTIFY" class="org.apache.log4j.net.SMTPAppender">
<param name="Threshold" value="INFO"/>
<param name="To" value="xxxx"/>
<param name="From" value="xxxx"/>
<param name="Subject" value="xxxx"/>
<param name="SMTPHost" value="xxxx" />
<param name="BufferSize" value="1" />
<filter class="org.apache.log4j.varia.StringMatchFilter">
<param name="StringToMatch" value="FCM_NOTIFY:" />
<param name="AcceptOnMatch" value="True" />
</filter>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%-6d{ISO8601} %-5p [%t]
%c{2} - %m%n"/>
</layout>
</appender>