This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

Introduction

This recipe creates the program daemon (logger) which is listening to the socket. It generates logs in an appropriate format (JSON, CSV, PICKLE).

Example usage

The simplest way to use this recipe is to add it to your buildout.cfg like this:

[buildout]
parts = logger

[logger]
recipe = collective.recipe.logger

Go to collective/recipe/logger/README.rst to see more details.

Development

Supported options

The recipe supports the following options (none of which are needed by default):

ip
It’s a host ip. Default value: localhost
port
It’s an application (daemon) port. Default value: 8090 (DEFAULT_TCP_LOGGING_PORT)
maxlen
It’s a circular buffer size. Default value: 100. It means that you can store 100 records into storage.
mode
It’s file mode bits which is intended to the file storage. Default value: 0644
format
It’s a storage type. Options: ‘csv’, ‘json’, ‘pickle’. Default value: ‘json’
eggs
It sets up additional products. They help serialize objects. For example, your object will not be a standard python collection so you need an appropriate class for this object. If you use Plone I recommend you set up eggs = ${instance:eggs}

Notes

  • A storage filename is generated by id_generator (src/collective/recipe/logger/utils.py).

Contributors

Taras Poburynnyi (potar), Author

Changelog

0.1.0b1

  • Initial release
Release History

Release History

0.1.0b1

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
collective.recipe.logger-0.1.0b1.zip (22.0 kB) Copy SHA256 Checksum SHA256 Source Jul 3, 2013

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