AnsweredAssumed Answered

Logger.xml Email Appender Setup

Question asked by ken.kpmcorp on Jul 28, 2014
Latest reply on Aug 6, 2014 by gcubed

Hi All,

 

I'm setting up an email appender in logger.xml and want to make sure I have the configuration correct. Below is the what I have configured. My questions are:

 

1. How is the port configured?

2. Is there a way to have Clarity send an email if the the wrapper service starts/stops?

 

<appender name="EMAIL" class="org.apache.log4j.net.SMTPAppender">

    <param name="SMTPHost" value="smtp.mysite.com"/>

    <param name="To" value="me@mysite.com"/>

    <param name="From" value="Clarity@mysite.com"/>

    <layout class="org.apache.log4j.PatternLayout">

      <param name="ConversionPattern" value="%-5p %d{ISO8601} [%t] %c{2} (%u:%s:%a) %m\r\n"/>

    </layout>

  </appender>

 

Thanks,

 

Ken

Outcomes