]> git.pld-linux.org Git - packages/python3-gunicorn.git/blame - python3-gunicorn-dev-log.patch
- python-gunicorn.spec updated to 20.0.4 (for python 3.5+) as python3-gunicorn.spec
[packages/python3-gunicorn.git] / python3-gunicorn-dev-log.patch
CommitLineData
d556a27f
ER
1From 11d0de1ac9da393ed1188f99c1bbcff6eac25d21 Mon Sep 17 00:00:00 2001
2From: Dan Callaghan <dcallagh@redhat.com>
3Date: Wed, 2 Jan 2013 11:48:54 +1000
4Subject: [PATCH] use /dev/log for syslog
5
6---
7 gunicorn/config.py | 2 +-
8 1 file changed, 1 insertion(+), 1 deletion(-)
9
10diff --git a/gunicorn/config.py b/gunicorn/config.py
11index 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--
241.7.11.7
25
This page took 0.089875 seconds and 4 git commands to generate.