hawat.log module
This module contains logging setup for Hawat application.
- class hawat.log.SendmailHandler(fromaddr, toaddrs, subject)[source]
Bases:
Handler
A handler class which sends an email using sendmail for each logging event.
- emit(record)[source]
Emit a record.
Format the record, create
mentat.emails.simple.SimpleEmail
email and send it to the specified addresses.