New submission from Yoong Hor Meng <yoon...@gmail.com>:
`pysyslog.py` - A UDP server listens at 0.0.0.0:514 for syslog messages. `syslogmsg_gen.py` - Send syslog message to local syslog server via 127.0.0.1:514 Error: Exception has occurred: UnicodeDecodeError 'utf-8' codec can't decode byte 0xd7 in position 381: invalid continuation byte File "C:\pysyslog.py", line 21, in handle data = self.request[0].decode('utf-8') File "C:\pysyslog.py", line 28, in <module> server.serve_forever(poll_interval=0.5) ---------- components: Library (Lib) files: attachment.md messages: 346005 nosy: yoonghm priority: normal severity: normal status: open title: logging.handlers.DatagramHandler sends bad data to socketserver.DatagramRequestHandler type: behavior versions: Python 3.7 Added file: https://bugs.python.org/file48426/attachment.md _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue37331> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com