<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: SysLogHandler not writing to syslog with Python logging</title>
	<link>http://scottbarnham.com/blog/2008/01/01/sysloghandler-not-writing-to-syslog-with-python-logging/</link>
	<description>Code and comments on web development, Django, Python and things (un)related.</description>
	<pubDate>Fri, 21 Nov 2008 11:32:39 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.3</generator>
		<item>
		<title>By: Eric</title>
		<link>http://scottbarnham.com/blog/2008/01/01/sysloghandler-not-writing-to-syslog-with-python-logging/#comment-291</link>
		<dc:creator>Eric</dc:creator>
		<pubDate>Tue, 19 Aug 2008 16:49:03 +0000</pubDate>
		<guid>http://scottbarnham.com/blog/2008/01/01/sysloghandler-not-writing-to-syslog-with-python-logging/#comment-291</guid>
		<description>For a configuration file, change the (host,port) tuple in the args of the handler to "/dev/log"
For example:

[handler_syslog]
class:handlers.SysLogHandler
level=NOTSET
args:(('localhost',handlers.SYSLOG_UDP_PORT),handlers.SysLogHandler.LOG_USER)
formatter: form01

Change args to:
args:("/dev/log",handlers.SysLogHandler.LOG_USER)</description>
		<content:encoded><![CDATA[<p>For a configuration file, change the (host,port) tuple in the args of the handler to &#8220;/dev/log&#8221;<br />
For example:</p>
<p>[handler_syslog]<br />
class:handlers.SysLogHandler<br />
level=NOTSET<br />
args:((&#8217;localhost&#8217;,handlers.SYSLOG_UDP_PORT),handlers.SysLogHandler.LOG_USER)<br />
formatter: form01</p>
<p>Change args to:<br />
args:(&#8221;/dev/log&#8221;,handlers.SysLogHandler.LOG_USER)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Manuel</title>
		<link>http://scottbarnham.com/blog/2008/01/01/sysloghandler-not-writing-to-syslog-with-python-logging/#comment-289</link>
		<dc:creator>Manuel</dc:creator>
		<pubDate>Wed, 13 Aug 2008 11:45:12 +0000</pubDate>
		<guid>http://scottbarnham.com/blog/2008/01/01/sysloghandler-not-writing-to-syslog-with-python-logging/#comment-289</guid>
		<description>Does somebody know how to apply that to a logger configuration file?</description>
		<content:encoded><![CDATA[<p>Does somebody know how to apply that to a logger configuration file?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://scottbarnham.com/blog/2008/01/01/sysloghandler-not-writing-to-syslog-with-python-logging/#comment-143</link>
		<dc:creator>John</dc:creator>
		<pubDate>Tue, 15 Jan 2008 19:02:58 +0000</pubDate>
		<guid>http://scottbarnham.com/blog/2008/01/01/sysloghandler-not-writing-to-syslog-with-python-logging/#comment-143</guid>
		<description>Thanks, that fixed my problem.</description>
		<content:encoded><![CDATA[<p>Thanks, that fixed my problem.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.145 seconds -->
