Vinay Sajip wrote: > On Jul 14, 3:21 pm, Joe Hughes <jwhug...@hughesconcepts.com> wrote: >> Thanks for the information. I sent an email to the maintainer and got >> some information that helped me continue with this. My solution was to >> change line 785 of handlers.py to >> >> self.socket.sendto(bytes(msg, 'ascii'), self.address) >> >> After I made the change, I got exactly what I was looking for. >> > > What I suggested was this: > > http://plumberjack.blogspot.com/2010/07/using-custom-formatter-to-deal- with.html > > Of course your change may work for you, but it's not a change we can > have in the stdlib - since not everyone will be using ASCII for > everything.
It's not obvious to me how you'd adapt that code to work with python3.1 and the SysLogHandler. Can you give some details? Peter -- http://mail.python.org/mailman/listinfo/python-list