]>
Commit | Line | Data |
---|---|---|
d556a27f ER |
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 |