Project:Logging and alerts
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

Hi,

I want to be able to send email notifications based not only on "severity", but also on "type". ex: severe cron messages go to a developer, while search notices go to a marketing person.

If I extend emaillog, will you commit them into the project? Or would you prefer to keep emaillog simple (in which case I can create a new module)?

lemmie know
Thanks

Comments

#1

Status:active» needs work

I like the idea of making it more granular like you suggest.

We have to make that optional though (e.g. by severity only, by type only, or by both). This way, it is backwards compatible, and flexible.

Come up with a working and tested patch in unidiff format, and I will review it and commit it.

#2

I am also interested in this as well. Please let me know how this is going.

#3

@ginga8
Sorry, but I never did develop this (the project requiring it fell though). I still use logging_alerts on my sites, but haven't had the need for this feature (yet).

#4

Status:needs work» fixed

@ginga8, @ryan_courtnage The newly added watchdog_rules submodule should get you the granular emailing services that you need. You'll need to add the Rules module to configure the rule to send emails based on the content of the watchdog event.

#5

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.