Simple remote syslog sender
Project description
Simple remote syslog sender
Installing
Install and update using pip:
$ pip install usyslog
usyslog supports Python 2 and newer, Python 3 and newer, and PyPy.
A Simple Example
What does it look like? Here is an example of a simple usyslog program:
from usyslog import syslog
message = "This is an error"
syslog(message, level=LEVEL['error'], facility=FACILITY['daemon'],
host='localhost', port=514)
# default host = 'localhost'
# default port = 514
# or
syslog(message, 3, 3, '192.168.0.1')
Support
Python 2.7 +, Python 3.x
Windows, Linux
Links
License: BSD
Issue tracker: https://bitbucket.org/licface/make_color/issues
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
usyslog-0.16.tar.gz
(4.4 kB
view details)
File details
Details for the file usyslog-0.16.tar.gz
.
File metadata
- Download URL: usyslog-0.16.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/2.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a297d4077e7099a2589005c939192074caa401e4514f366734aa780791183da |
|
MD5 | e32aac5a8cb3ba5bf567dd24fec96807 |
|
BLAKE2b-256 | 1ed1af2dbc61e3f23c948f62af90833eec826cd3faf963a1824f5bb77d3a40e1 |