Skip to content

Commit 9212369

Browse files
committed
Add a reasonable default setup for syslog
- Legacy-Id: 116
1 parent e1d94fc commit 9212369

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

ietf/settings.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44

55
import os
66

7+
import syslog
8+
syslog.openlog("django", syslog.LOG_PID, syslog.LOG_USER)
9+
10+
711
BASE_DIR = os.path.dirname(os.path.abspath(__file__))
812

913
DEBUG = True

0 commit comments

Comments
 (0)