I just want to have email notification when an error is declared in plone 4.
Any ideas of product or any "how-to" ?
Thanks
I just want to have email notification when an error is declared in plone 4.
Any ideas of product or any "how-to" ?
Thanks
Configuring mailing-logger is documented at http://pypi.python.org/pypi/plone.recipe.zope2instance but I think that email log notification is built into recent Zope2 releases, so you should now add the following to you
[instance]
section:(example from http://myzope.kedai.com.my/blogs/kedai/44)
http://pypi.python.org/pypi/collective.logbook is handy too.
You need to add an email-notifier to your event-log-custom in buildout.cfg. Unfortunately there's no way to append it to your existing logging configuration but the following will mimic what plone.recipe.zope2instance does for the event log anyway
You can easily configure the built-in email notification for Zope, but we found that adding the mailinglogger package makes the emails a lot more managable.
The package adds:
The
plone.recipe.zope2instance
buildout recipe supports mailinglogger out of the box; simply define amailinglogger
variable in your[instance]
part and include the mailinglogger egg:The package has been invaluable for us on larger clusters, where we configure additional variables per instance to be included in the subject; we can see what instance the problem occurred on directly in the subject.