Skip to content

Instantly share code, notes, and snippets.

View operatorofhell's full-sized avatar

operatorofhell

View GitHub Profile
@operatorofhell
operatorofhell / pysyslog.py
Last active September 14, 2018 11:10 — forked from marcelom/pysyslog.py
Tiny Python Syslog Server
#!/usr/bin/env python
## Tiny Syslog Server in Python.
##
## This is a tiny syslog server that is able to receive UDP based syslog
## entries on a specified port and save them to a file.
## That's it... it does nothing else...
## There are a few configuration parameters.
LOG_FILE = 'yourlogfile.log'