Vinay Sajip added the comment:
The default for syslog-ng's so_keepalive() option is No (don't keep the socket
open). Since you haven't responded with more information, I'll assume that
you're using this default setting, and that syslog-ng is terminating the
connection. Reopen if you have
New submission from Omer Katz:
import logging
import logging.handlers
import socket
logger = logging.getLogger('mylogger')
handler = logging.handlers.SysLogHandler(('',
logging.handlers.SYSLOG_TCP_PORT), socktype=socket.SOCK_STREAM)
formatter = logging.Formatter('%(name)s: [%(levelname)s]
Changes by R. David Murray rdmur...@bitdance.com:
--
nosy: +vinay.sajip
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21807
___
___
Vinay Sajip added the comment:
Some information appears to be missing from your snippet: the default logger
level is WARNING, so no INFO messages would be expected.
Have you set logging.raiseExceptions to a False value? Are you sure that no
network error is occurring? How can you be sure the