great extension :)
already helped me debug 2 serious issues :)

thanks!!

2009/9/2 John Simons <[email protected]>

>
> Jan,
>
> Here is what you need to include in your web.config to register the
> filter that Ayende mentioned above:
>  <monorail smtpHost="mailserver" smtpPort="25">
>    <exception>
>      <exceptionHandler
>
> type="Castle.MonoRail.Framework.Extensions.ExceptionChaining.LoggingExceptionHandler,
> Castle.Monorail.Framework"/>
>      <exceptionHandler
> type="Castle.MonoRail.Framework.Extensions.ExceptionChaining.EmailHandler,
> Castle.Monorail.Framework" mailTo="[email protected]"
> mailFrom="[email protected]"/>
>    </exception>
>  </monorail>
>
> Note, the first exceptionHandler logs the exception to the Logger and
> the second(optional) sends an email.
>
> You can also find more info in
>
> http://www.castleproject.org/monorail/documentation/trunk/advanced/extensions.html
>
> Cheers
> John
>
>
> On Sep 3, 6:05 am, Ayende Rahien <[email protected]> wrote:
> > Yes, you need a filter for that
> >
> > On Wed, Sep 2, 2009 at 10:42 PM, Jan Limpens <[email protected]>
> wrote:
> > > Hello,
> >
> > > is it somehow possible to always log controller, action and params,
> > > whenever some exception is thrown?
> >
> > > --
> > > Jan
> >
>


-- 
Jan

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/castle-project-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to