de1f4f4
From 21bc58ecd57046806b8e5e88a633a4fa3f5cce5d Mon Sep 17 00:00:00 2001
31fcdff
From: Dan Callaghan <dcallagh@redhat.com>
31fcdff
Date: Wed, 2 Jan 2013 11:48:54 +1000
3fe69b4
Subject: [PATCH 1/2] use /dev/log for syslog
31fcdff
de1f4f4
---
de1f4f4
 gunicorn/config.py | 2 +-
de1f4f4
 1 file changed, 1 insertion(+), 1 deletion(-)
31fcdff
31fcdff
diff --git a/gunicorn/config.py b/gunicorn/config.py
de1f4f4
index 8fd281be..88304a1f 100644
31fcdff
--- a/gunicorn/config.py
31fcdff
+++ b/gunicorn/config.py
de1f4f4
@@ -1454,7 +1454,7 @@ class SyslogTo(Setting):
31fcdff
         default = "unix:///var/run/syslog"
31fcdff
     elif PLATFORM in ('freebsd', 'dragonfly', ):
31fcdff
         default = "unix:///var/run/log"
31fcdff
-    elif PLATFORM == "openbsd":
3fe69b4
+    elif PLATFORM in ('openbsd', 'linux'):
31fcdff
         default = "unix:///dev/log"
31fcdff
     else:
31fcdff
         default = "udp://localhost:514"
31fcdff
-- 
de1f4f4
2.35.3
31fcdff