Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

YAML formatter for the standard Python logging module

Project Description


python-yaml-logger is a formatter for the standard Python logging module designed to allow formatting log data as YAML. Using YAML allow for both human- and machine-readable log files, and allows developers to quickly parse and make better use of log data.


Manual installation:

$ wget -O- | tar zx
$ cd python-yaml-logger-master
$ python install


import logging
import yamlformatter

logger = logging.getLogger()
logHandler = logging.FileHandler('my.yamllog')
formatter = yamlformatter.YAMLFormatter()

Example output

- asctime: 2013-04-10 15:39:26,014
  created: 1365604766.014612
  levelname: INFO
  message: test message
  name: logger_name
Release History

Release History

This version
History Node


History Node


History Node


History Node


History Node


History Node


Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
python-yaml-logger-0.3.1.tar.gz (2.8 kB) Copy SHA256 Checksum SHA256 Source Aug 14, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting