Disable event logs on local server.

(imported from commit eafbd645ae7ce8d868de2fb8c6548325a05b1340)
This commit is contained in:
Tim Abbott
2013-11-12 12:06:34 -05:00
parent 57b5231063
commit 5d5e662c08
2 changed files with 7 additions and 1 deletions

View File

@@ -545,7 +545,10 @@ CACHES = {
if DEPLOYED:
SERVER_LOG_PATH = "/var/log/zulip/server.log"
WORKER_LOG_PATH = "/var/log/zulip/workers.log"
EVENT_LOG_DIR = '/home/zulip/logs/event_log'
if LOCAL_SERVER:
EVENT_LOG_DIR = None
else:
EVENT_LOG_DIR = '/home/zulip/logs/event_log'
STATS_DIR = '/home/zulip/stats'
PERSISTENT_QUEUE_FILENAME = "/home/zulip/tornado/event_queues.pickle"
EMAIL_LOG_PATH = "/var/log/zulip/email-mirror.log"