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
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
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
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
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
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
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
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
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