← Back to team overview

launchpad-dev team mailing list archive

cron script error output handling

 

In the near future errors from process-mail.py will be sent to a log
file not to lp-errors-reports.

At the moment, in the production launchpad.net, errors from the
process-mail.py cronscript are sent by mail.  Previously this only
said anything when the script failed, but as part of the DKIM LEP I
made it emit some debug/info messages.  These are now going to an
errors mailing list, which is doubly bad because it creates noise for
people subscribed to the list, while also being hard for me to see the
errors to debug the deployment issues.

I'm about to file an RT (approved by lifeless) asking the LOSAs to
send output from this cronscript to a file, as is done for some
(most?) of the others.

Later on we could look at having messages >=error sent to stderr and
everything (including errors) set to a log file, which would help us
converge on having mail sent if and only if there is is a serious
problem.

-- 
Martin



Follow ups