1. Adrians Heidens
  2. maillog

Overview

Description

Python logging handler which collects and sends emails. Email collection and sending is triggered by log message prefixes. There are start message markers and end message markers. Start message marker is prefix with non-null string which becomes email subject. End message marker is just prefix, it marks email body end and sends message to recipients.

Email sending uses system command mail as it is faster than using SMTP server directly.

Some usage examples have been included in package in directory examples.