Skip to content
Python library for sending and receiving syslog packets.
Python
Branch: master
Clone or download
Pull request Compare This branch is 10 commits ahead, 5 commits behind gma:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
AUTHORS
INSTALL
MANIFEST
README
TODO
netsyslog.py
netsyslog_test.py
setup.py
simple_server.py

README

README
======

netsyslog enables you to construct syslog messages and send them (via
UDP) to a remote syslog server directly from Python. Unlike other
syslog modules it allows you to set the metadata (e.g. time, host
name, program name, etc.) yourself, giving you full control over the
contents of the UDP packets that it creates.

netsyslog was initially developed for the Hack Saw project, where it
was used to read log messages from a file and inject them into a
network of syslog servers, whilst maintaining the times and hostnames
recorded in the original messages.

The module also allows you to send log messages that contain the
current time, local hostname and calling program name (i.e. the
typical requirement of a logging package) to one or more syslog
servers.

The format of the UDP packets sent by netsyslog adheres closely to
that defined in RFC 3164.

For more information see http://hacksaw.sourceforge.net/netsyslog/
You can’t perform that action at this time.