From 90b4f0a2ede88e8106400e001f6eef2a56a6dc72 Mon Sep 17 00:00:00 2001 From: Joseph Schorr Date: Thu, 11 Jun 2015 13:43:29 -0400 Subject: [PATCH] Fix default log archive location for ER Before this change, the ER was using the default of 'local_us' from the base config, which is incorrect, and caused no logs to be archived. --- util/config/configutil.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/util/config/configutil.py b/util/config/configutil.py index b17958f03..2a007a794 100644 --- a/util/config/configutil.py +++ b/util/config/configutil.py @@ -40,6 +40,8 @@ def add_enterprise_config_defaults(config_obj, current_secret_key, hostname): config_obj['USERFILES_LOCATION'] = 'local' config_obj['USERFILES_PATH'] = 'userfiles/' + config_obj['LOG_ARCHIVE_LOCATION'] = 'local' + if not 'SERVER_HOSTNAME' in config_obj: config_obj['SERVER_HOSTNAME'] = hostname