Message106330
| Author |
skliarie |
| Recipients |
skliarie |
| Date |
2010年05月23日.11:28:40 |
| SpamBayes Score |
0.0010932853 |
| Marked as misclassified |
No |
| Message-id |
<1274614124.24.0.553377006251.issue8795@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
I am trying to send utf8 strings over syslog/udp and get strange error:
Traceback (most recent call last):
File "/usr/lib/python2.6/logging/handlers.py", line 788, in emit
self.socket.sendto(msg, self.address)
TypeError: sendto() takes exactly 3 arguments (2 given)
See the attached program, at the beginning it has two parameters - log to file or udp and use utf8 or not. It works in all cases but the udp+utf8. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2010年05月23日 11:28:44 | skliarie | set | recipients:
+ skliarie |
| 2010年05月23日 11:28:44 | skliarie | set | messageid: <1274614124.24.0.553377006251.issue8795@psf.upfronthosting.co.za> |
| 2010年05月23日 11:28:42 | skliarie | link | issue8795 messages |
| 2010年05月23日 11:28:42 | skliarie | create |
|