Extending emaillog
ryan_courtnage - November 18, 2008 - 22:46
| Project: | Logging and alerts |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs work |
Jump to:
Description
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

#1
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.