Hi Vinay,
I think I figured out what you are talking about after reading RFC
5424. I think this means that this code
syslog.info("Status - " + mcu_dict[pinged.ip] + " is " + status[pinged.status])
needs to become something like this
BOM = 0xEFBBBF
msg = str(BOM) + "Status - " + mcu_di
On Jul 14, 7:08 pm, Joe Hughes wrote:
> This is why I did what I did, because I couldn't figure it out either. I did
> find issue 5421 at python.org which is where I got the idea for the code
> change.
Perhaps you should read the messages for issue 7077, linked to by
Peter above. You'll see th
This is why I did what I did, because I couldn't figure it out either. I did
find issue 5421 at python.org which is where I got the idea for the code change.
Joe
On Jul 14, 2010, at 12:35 PM, Peter Otten wrote:
> Vinay Sajip wrote:
>
>> On Jul 14, 3:21 pm, Joe Hughes wrote:
>>> Thanks for th
Vinay Sajip wrote:
> On Jul 14, 3:21 pm, Joe Hughes 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.a
On Jul 14, 3:21 pm, Joe Hughes 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
Peter,
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 wa
Joe Hughes wrote:
> I'm doing some work with logging.config and I'm running into an
> interesting situation. I've run this by python-help, but that didn't help
> so I thought I would send to the list. Here is the config file
>
> [loggers]
> keys=root,log,syslog
>
> [handlers]
> keys=console,lo
Hi Python Help:
I'm doing some work with logging.config and I'm running into an
interesting situation. I've run this by python-help, but that didn't help so I
thought I would send to the list. Here is the config file
[loggers]
keys=root,log,syslog
[handlers]
keys=console,log,syslog