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

kbahey’s picture

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.

ginga8’s picture

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

ryan_courtnage’s picture

@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).

Bastlynn’s picture

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.

Status: Fixed » Closed (fixed)

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

oadaeh’s picture

Issue summary: View changes

FYI, I created a related issue here: #2336975: Specifying which types to send messages for (rather than re-open this old one -- it's also for D7).