Python Syslog Logging Handlers | Python | cppsecrets.com
cppsecrets.com › usersJun 25, 2021 · The SysLogHandler class, located in the logging.handlers module, supports sending logging messages to a remote or local Unix syslog. class logging.handlers.SysLogHandler(address= ('localhost', SYSLOG_UDP_PORT), facility=LOG_USER, socktype=socket.SOCK_DGRAM) Returns a new instance of the SysLogHandler class intended to communicate with a remote ...