Skip to content

Library for message logging within web applications using message broker, maintaining compatibility with python 2.4

Notifications You must be signed in to change notification settings

magicpotion/audit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Message broker abstraction module

This module provides abstraction layer to message broker. Logging module to be used with Kombu Messaging library: https://pypi.python.org/pypi/kombu/ Requires Kombu 1.5.1 to maintain compatibility with Python 2.4.

Although designed to be used with RabbitMQ and Graylog, it will work with any message broker and log management system.

Example:

import audit

message = '{"short_message":"Test", "host":"example.org"}'
Audit = audit.Audit()
Audit.custom_exchange(exchange='logs'...) # optional
Audit.log(message)

About

Library for message logging within web applications using message broker, maintaining compatibility with python 2.4

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages