[issue1647654] No obvious and correct way to get the time zone offset

2010-11-22 Thread Max Arnold
Max Arnold added the comment: Our region recently switched to another timezone and I've noticed similar issue while using Mercurial. There is some (hopefully) useful details: http://mercurial.selenic.com/bts/issue2511 -- nosy: +LwarX ___ P

[issue6444] multiline exception logging via syslog handler

2009-07-09 Thread Max Arnold
New submission from Max Arnold : I use syslog message routing mechanism to log high-priority messages from my python code to separate file. When exceptions are logged, only first line routed to specified file, and the rest goes in /var/log/messages. Such problem exists when SyslogHandler

[issue6444] multiline exception logging via syslog handler

2009-07-13 Thread Max Arnold
Max Arnold added the comment: > Why can't you either use %r in the format string, or define your own handler/formatter to do exactly what you want? I'm describing default behaviour of logger.exception(). Out of the box (with SyslogHandler and "/dev/log") I'm unabl

[issue6444] multiline exception logging via syslog handler

2009-07-15 Thread Max Arnold
Max Arnold added the comment: Which syslog daemon you use? I've encountered this on syslog-ng. There is stripped down syslog-ng.conf (messages with facility LOCAL0 are routed to /var/log/local.log and all others to /var/log/defaul

[issue6444] multiline exception logging via syslog handler

2009-07-15 Thread Max Arnold
Max Arnold added the comment: I'll try to investigate this issue a bit more in a few days. I plan to compare sysklogd, sylog-ng and probably metalog. Maybe this issue is specific to syslog-ng only. -- status: pending -> open ___ Python

[issue6444] multiline exception logging via syslog handler

2009-08-20 Thread Max Arnold
Max Arnold added the comment: Sorry for long delay, I was on vacation. I have installed sysklogd, metalog and syslog-ng on a virtual machine and executed test script. First two daemons log exception as single concatenated line. Syslog-ng splits it as described in original report. Do you

[issue1711603] syslog syscall support for SysLogLogger

2009-06-22 Thread Max Arnold
Max Arnold added the comment: Can I vote for this issue? Many systems with syslog aren't configured to listen on UDP socket and thus out of the box SysLogHandler does not work. -- nosy: +LwarX ___ Python tracker <http://bugs.py

[issue1711603] syslog syscall support for SysLogLogger

2009-06-22 Thread Max Arnold
Max Arnold added the comment: Is it safe to use single handler instance in multiple loggers or single stream in multiple handlers? -- ___ Python tracker <http://bugs.python.org/issue1711

[issue1711603] syslog syscall support for SysLogLogger

2009-06-22 Thread Max Arnold
Max Arnold added the comment: Sorry, I've read your first reply too fast and incorrectly interpreted it as recommendation to use stream handler with /dev/log. Anyway, thank you for clarification. -- ___ Python tracker <http://bugs.py