Issue with logging.config

Vinay Sajip vinay_sajip at yahoo.co.uk
Wed Jul 14 11:40:20 EDT 2010


On Jul 14, 3:21 pm, Joe Hughes <jwhug... at 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.

Regards,

Vinay Sajip



More information about the Python-list mailing list