I would like to send an email notification when a custom error occurs on my production site, does anyone have any suggestions or can point me in the right direction on how to implement this?
I'm currently using services like pingdom but they do not cover all node urls and as yet do not have a automated testing system robust enough to catch everything.
customErrors trigger email notification
Hello,
I would like to send an email notification when a custom error occurs on my production site, does anyone have any suggestions or can point me in the right direction on how to implement this?
I'm currently using services like pingdom but they do not cover all node urls and as yet do not have a automated testing system robust enough to catch everything.
Many thanks, Phil
I have been able to achieve this my extending log4net, which Umbraco using as its logging framework.
Add the following to your log4net configuration file:
Then add the following appender-ref element to the root section of the log4net config file:
Hope this helps anyone who is interested!
is working on a reply...