To receive error notifications, edit email and host details and activate the appender in the log4j.xml file.
<appender name="SMTPAppender" class="org.apache.log4j.net.SMTPAppender"> <param name="Threshold" value="ERROR"/> <param name="To" value="user1@mycompany.net"/> <param name="From" value="user2@mycompany.net"/> <param name="SMTPHost" value="abc-exchmb.abc.mycompany.net"/> <param name="BufferSize" value="100"/> <param name="Subject" value="CCF Error Notification"/> <layout class="org.apache.log4j.PatternLayout"> <param name="ConversionPattern" value="%-5p %d{ISO8601} - %m%n"/> </layout> </appender>
<category name="com.collabnet" additivity="false"> <level value="info"/> <appender-ref ref="console" /> <appender-ref ref="R" /> <!-- <appender-ref ref="ErrorNotifier" />--> </category>to
<category name="com.collabnet" additivity="false"> <level value="info"/> <appender-ref ref="console" /> <appender-ref ref="R" /> <appender-ref ref="ErrorNotifier" /> </category>