{"id":17343692,"url":"https://github.com/gma/python-netsyslog","last_synced_at":"2026-01-26T21:12:13.840Z","repository":{"id":605283,"uuid":"241944","full_name":"gma/python-netsyslog","owner":"gma","description":"Python library for hand crafting and sending syslog packets","archived":false,"fork":false,"pushed_at":"2014-07-19T10:55:23.000Z","size":176,"stargazers_count":7,"open_issues_count":1,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-31T08:38:42.016Z","etag":null,"topics":["logger","logging","python","syslog","syslog-client","udp"],"latest_commit_sha":null,"homepage":"http://hacksaw.sourceforge.net/netsyslog","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gma.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2009-07-02T20:42:28.000Z","updated_at":"2022-09-22T16:03:31.000Z","dependencies_parsed_at":"2022-08-06T09:16:03.189Z","dependency_job_id":null,"html_url":"https://github.com/gma/python-netsyslog","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gma/python-netsyslog","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gma%2Fpython-netsyslog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gma%2Fpython-netsyslog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gma%2Fpython-netsyslog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gma%2Fpython-netsyslog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gma","download_url":"https://codeload.github.com/gma/python-netsyslog/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gma%2Fpython-netsyslog/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28788283,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-26T21:02:48.137Z","status":"ssl_error","status_checked_at":"2026-01-26T21:01:13.039Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["logger","logging","python","syslog","syslog-client","udp"],"created_at":"2024-10-15T16:10:05.128Z","updated_at":"2026-01-26T21:12:13.822Z","avatar_url":"https://github.com/gma.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"README\n======\n\nnetsyslog enables you to construct syslog messages and send them (via\nUDP) to a remote syslog server directly from Python. Unlike other\nsyslog modules it allows you to set the metadata (e.g. time, host\nname, program name, etc.) yourself, giving you full control over the\ncontents of the UDP packets that it creates.\n\nnetsyslog was initially developed for the Hack Saw project, where it\nwas used to read log messages from a file and inject them into a\nnetwork of syslog servers, whilst maintaining the times and hostnames\nrecorded in the original messages.\n\nThe module also allows you to send log messages that contain the\ncurrent time, local hostname and calling program name (i.e. the\ntypical requirement of a logging package) to one or more syslog\nservers.\n\nThe format of the UDP packets sent by netsyslog adheres closely to\nthat defined in [RFC 3164][].\n\n[RFC 3164]: http://tools.ietf.org/html/rfc3164\n\nInstallation\n------------\n\n    $ python setup.py install\n\nUsage\n-----\n\n    $ python\n    Python 2.4.1 (#2, Mar 30 2005, 21:51:10)\n    [GCC 3.3.5 (Debian 1:3.3.5-8ubuntu2)] on linux2\n    Type \"help\", \"copyright\", \"credits\" or \"license\" for more\n    information.\n    \u003e\u003e\u003e import netsyslog\n    \u003e\u003e\u003e import syslog\n    \u003e\u003e\u003e logger = netsyslog.Logger()\n    \u003e\u003e\u003e logger.add_host(\"somehost.mydomain.com\")\n    \u003e\u003e\u003e logger.add_host(\"otherhost.mydomain.com\")\n    \u003e\u003e\u003e logger.log(syslog.LOG_USER, syslog.LOG_NOTICE, \"Hey, it works!\", pid=True)\n\nThe [API docs][] are also available over on the (old) SourceForge site.\n\n[API docs]: http://hacksaw.sourceforge.net/netsyslog/doc/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgma%2Fpython-netsyslog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgma%2Fpython-netsyslog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgma%2Fpython-netsyslog/lists"}