Skip to main content

usyslog

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

Metadata

Release files for usyslog 0.16

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for usyslog 0.16
File Size Uploaded
usyslog-0.16.tar.gz 4.4 kB Details

Release files / usyslog-0.16.tar.gz

Download URL usyslog-0.16.tar.gz
Size 4.4 kB
Tags Source
SHA-256 checksum
How to use checksums
1a297d4077e7099a2589005c939192074caa401e4514f366734aa780791183da
BLAKE2b-256 checksum
How to use checksums
1ed1af2dbc61e3f23c948f62af90833eec826cd3faf963a1824f5bb77d3a40e1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/2.7

Release history Release notifications | RSS feed

This release

0.16 This release

1 release file

0.14

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page