Skip to main content

Generic utilities for the Python logging facility

Project description


Additional handlers for the Python standard logging facility.


import logging
from loggingx import JabberHandler, Account

sender = Account(username = '',
                 password = 'your-password')

destination = ''

jabber_handler = JabberHandler(sender=sender, to=destination)

logger = logging.getLogger()

logger.debug("debug message")


Including SSL support, so it is able to send mail with gmail.

import logging
from loggingx import SMTP_SSLHandler, Server, Account

sender = Account(username = '',
                 password = 'your-password')

destination = ''

gmail_smtp = Server(hostname='',
                    port=587, ssl=True)

smtp_handler = SMTP_SSLHandler(server  = gmail_smtp,
                               sender  = sender,
                               toaddrs = [destination],
                               subject = 'SSL SMTP notification')

logger = logging.getLogger()

logger.debug("debug message")

Notify handler


python-logging-extra is available as official Debian package.

Source repository

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for python-logging-extra, version 0.20130515.2
Filename, size File type Python version Upload date Hashes
Filename, size python-logging-extra-0.20130515.2.tar.gz (3.7 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page