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.
This commit is contained in:
Joseph Schorr 2015-06-11 13:43:29 -04:00
parent 7ba000a256
commit 90b4f0a2ed

View file

@ -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