python-syslogssl
python-syslogssl copied to clipboard
Extends logging.handlers.SysLogHandler to create a logging handler with SSL support
pull request for #6 Also updated the cert value in the example usage :)
I encountered two issues when using this extension with python3: **1. NameError: name 'unicode' is not defined** Referencing [here](https://stackoverflow.com/questions/19877306/nameerror-global-name-unicode-is-not-defined-in-python-3), python3 has renamed the `unicode` type to `str`. It'll work with...
Here is my test.py code- ``` import logging import socket from syslogssl import SSLSysLogHandler host = '10.140.7.251' port = 6514 # default, you'll want to change this to your port...
Formats RFC 5424 frame metadata including date & time of the record, host name, and process name. Built off the work for Octet Counting Framing.