mod_mail.py
An exception will be thrown if PORTAGE_ELOG_MAILSUBJECT is defined but does
not contain exactly one "%s".
Any reason to not have a PORTAGE_ELOG_MAILRECIPIENT?
mod_syslog.py
The definition of pri should be moved outside of the loops and probably
outside of the function altogether.
This "patch" depends on elog_base (although it doesn't break anything
without it) and adds the actual logging modules. I've just atatched the
files completely, as a) svn diff doesn't play nice with generating
new-file diffs and b) they are just new files to be dropped in
pym/elog_modules (together