An rfc5424/rfc5425 syslog server implementation Copyright © 2011 Evax Software <contact@evax.fr>
Bases: object
Base class for syslog emitters.
A syslog emitter provides two methods, one to send messages and one to close the connection. All emitters are set up such that the connection is re-established once when a network issue happens. If the re-connection attempt fails, a socket exception is thrown.
Derived classes have specific constructors describing the address to send messages to.
Closes the socket.
Emit a log record.
Bases: loggerglue.emitter.SyslogEmitter
Syslog emitter that sends messages through a TCP socket. Optionally supports TLS.
Closes the socket.
Emit a record.
Bases: loggerglue.emitter.SyslogEmitter
Syslog emitter through UDP.
Sends syslog messages over UDP. As UDP is an unreliable protocol, use of this class is discouraged. The only use-case would be sending messages to a syslog server that does not support TCP.
Create a Syslog emitter that sends messages through UDP.
Arguments
- address
- address to send messages to, as (host,port) tuple
Closes the socket.
Emit a record.