File 0001-use-dev-log-for-syslog.patch of Package python-gunicorn
From 37269d5c6215a21b901ab13cd22e203ce05cbda8 Mon Sep 17 00:00:00 2001
From: Dan Callaghan <dcallagh@redhat.com>
Date: Wed, 2 Jan 2013 11:48:54 +1000
Subject: [PATCH 1/2] use /dev/log for syslog
---
gunicorn/config.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gunicorn/config.py b/gunicorn/config.py
index 2468872..c595b91 100644
--- a/gunicorn/config.py
+++ b/gunicorn/config.py
@@ -1281,7 +1281,7 @@ class SyslogTo(Setting):
default = "unix:///var/run/syslog"
elif PLATFORM in ('freebsd', 'dragonfly', ):
default = "unix:///var/run/log"
- elif PLATFORM == "openbsd":
+ elif PLATFORM in ('openbsd', 'linux'):
default = "unix:///dev/log"
else:
default = "udp://localhost:514"
--
2.9.3