Skip to main content

handler for MongoDB database for python logging

Project description

log4mongo-python

log4mongo-python is handler for MongoDB database for python logging log4mongo-python is using pymongo driver - http://github.com/mongodb/mongo-python-driver

Requirements

  • python
  • pymongo
  • MongoDB
  • tested against python 2.6.6, MongoDB 1.6.3, pymongo 1.9

Configuration

Example handler python configuration:

import logging
import log4mongo.handlers.MongoHandler

logger = logging.getLogger('test')
logger.addHandler(MongoHandler(host='localhost'))
logger.warning('test')

Author

char0n (Vladimir Gorej) <gorej@mortality.sk>

Project details


Release history Release notifications

History Node

1.6.2

History Node

1.6.1

History Node

1.6.0

History Node

1.5.0

History Node

1.4.3

History Node

1.4.2

History Node

1.4.1

History Node

1.3.0

History Node

1.2.1

History Node

1.2

History Node

1.1b1

History Node

1.0

History Node

1.0rc2

This version
History Node

1.0rc1

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
log4mongo-1.0rc1.tar.gz (3.5 kB) Copy SHA256 hash SHA256 Source None Nov 4, 2010

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page