Folks,

I seem to be having an issue with the Email Logger in 1.9.0 BER - Build
2823.  I am using all three loggers in my application and right now the
EmailLogger and MachIICFLogger are enabled in my development group.  In one
of my listeners I am calling getLog().error("While trying to login
#emailAddress# on #DateFormat(Now(),'m/d/yyyy')# at #TimeFormat(Now(),'h:mm
tt')# an error occured.",cfcatch) inside of the <cfcatch> block of my
try/catch.  When an error occurs the proper log message and the additional
information from the getLog() are being written to the CF Log.  However,
this is not generating an email to me via the Logger. Am I misunderstanding
how the getLog() method works and why wouldnt and email be generated even
without the additional information from the getLog()?

Here is the email Logger config information:

<parameter name="EmailLog">

  <struct>

   <key name="type" value="MachII.logging.loggers.EmailLog.Logger" />

   <key name="mailType" value="html" />

   <key name="loggingEnabled">

       <struct>

       <key name="group:development" value="true"/>

            <key name="group:production" value="true"/>

            <key name="group:staging" value="true"/>

             </struct>

         </key>

   <key name="loggingLevel" value="warn" />

   <key name="loggingLevelEmailTrigger" value="warn" />

   <key name="mailType" value="text/html" />

   <key name="to" value="[email protected]" />

   <key name="from" value="[email protected]" />

   <key name="subject" value="Application Error Log" />

  </struct>
</parameter>

-- 
To post to this group, send email to [email protected]
For more options and to unsubscribe, visit this group at 
http://groups.google.com/group/mach-ii-for-coldfusion?hl=en

SVN: http://svn.mach-ii.com/machii/
Wiki / Documentation / Tickets: http://trac.mach-ii.com/machii/

Reply via email to