Skip to main content

This recipe logs an information into storage. It's a part of

Project description


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:

parts = logger

recipe = collective.recipe.logger

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


Supported options

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

It’s a host ip. Default value: localhost
It’s an application (daemon) port. Default value: 8090 (DEFAULT_TCP_LOGGING_PORT)
It’s a circular buffer size. Default value: 100. It means that you can store 100 records into storage.
It’s file mode bits which is intended to the file storage. Default value: 0644
It’s a storage type. Options: ‘csv’, ‘json’, ‘pickle’. Default value: ‘json’
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}


  • A storage filename is generated by id_generator (src/collective/recipe/logger/


Taras Poburynnyi (potar), Author



  • Initial release

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 collective.recipe.logger, version 0.1.0b1
Filename, size File type Python version Upload date Hashes
Filename, size (22.0 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page