]> git.pld-linux.org Git - packages/python3-gunicorn.git/blob - python-gunicorn-dev-log.patch
10943c077929f0d2a8bc0e6dff63bf3306cc3f66
[packages/python3-gunicorn.git] / python-gunicorn-dev-log.patch
1 From 11d0de1ac9da393ed1188f99c1bbcff6eac25d21 Mon Sep 17 00:00:00 2001
2 From: Dan Callaghan <dcallagh@redhat.com>
3 Date: Wed, 2 Jan 2013 11:48:54 +1000
4 Subject: [PATCH] use /dev/log for syslog
5
6 ---
7  gunicorn/config.py | 2 +-
8  1 file changed, 1 insertion(+), 1 deletion(-)
9
10 diff --git a/gunicorn/config.py b/gunicorn/config.py
11 index f1a0870..d58fbf7 100644
12 --- a/gunicorn/config.py
13 +++ b/gunicorn/config.py
14 @@ -1245,7 +1245,7 @@ class SyslogTo(Setting):
15          default = "unix:///var/run/syslog"
16      elif PLATFORM in ('freebsd', 'dragonfly', ):
17          default = "unix:///var/run/log"
18 -    elif PLATFORM == "openbsd":
19 +    elif PLATFORM in ("openbsd", "linux"):
20          default = "unix:///dev/log"
21      else:
22          default = "udp://localhost:514"
23 -- 
24 1.7.11.7
25
This page took 0.040945 seconds and 2 git commands to generate.