diff --git a/configs/development.ini b/configs/development.ini --- a/configs/development.ini +++ b/configs/development.ini @@ -27,7 +27,7 @@ locale = en_US.UTF-8 core.binary_dir = "" ## custom exception store path, defaults to TMPDIR -exception_store_path = +exception_tracker.store_path = ## Default cache dir for caches. Putting this into a ramdisk ## can boost performance, eg. /tmpfs/data_ramdisk, however this directory might require diff --git a/configs/production.ini b/configs/production.ini --- a/configs/production.ini +++ b/configs/production.ini @@ -48,7 +48,7 @@ locale = en_US.UTF-8 core.binary_dir = "" ## custom exception store path, defaults to TMPDIR -exception_store_path = +exception_tracker.store_path = ## Default cache dir for caches. Putting this into a ramdisk ## can boost performance, eg. /tmpfs/data_ramdisk, however this directory might require diff --git a/vcsserver/http_main.py b/vcsserver/http_main.py --- a/vcsserver/http_main.py +++ b/vcsserver/http_main.py @@ -261,7 +261,7 @@ class HTTPApplication(object): # exception store cache _string_setting( settings, - 'exception_store_path', + 'exception_tracker.store_path', default_cache_dir, lower=False) # repo_object cache diff --git a/vcsserver/lib/exc_tracking.py b/vcsserver/lib/exc_tracking.py --- a/vcsserver/lib/exc_tracking.py +++ b/vcsserver/lib/exc_tracking.py @@ -57,7 +57,7 @@ def get_exc_store(): """ import vcsserver as app - exc_store_dir = app.CONFIG.get('exception_store_path', '') or tempfile.gettempdir() + exc_store_dir = app.CONFIG.get('exception_tracker.store_path', '') or tempfile.gettempdir() _exc_store_path = os.path.join(exc_store_dir, exc_store_dir_name) _exc_store_path = os.path.abspath(_exc_store_path)