##// END OF EJS Templates
exception_store: rename .ini option for future
marcink -
r3024:eb235cbd stable
parent child Browse files
Show More
@@ -20,17 +20,6 b' debug = true'
20 ## email FROM address all mails will be sent
20 ## email FROM address all mails will be sent
21 #app_email_from = rhodecode-noreply@localhost
21 #app_email_from = rhodecode-noreply@localhost
22
22
23 ## Uncomment and replace with the address which should receive any error report
24 ## note: using appenlight for error handling doesn't need this to be uncommented
25 #email_to = admin@localhost
26
27 ## in case of Application errors, sent an error email form
28 #error_email_from = rhodecode_error@localhost
29
30 ## additional error message to be send in case of server crash
31 #error_message =
32
33
34 #smtp_server = mail.server.com
23 #smtp_server = mail.server.com
35 #smtp_username =
24 #smtp_username =
36 #smtp_password =
25 #smtp_password =
@@ -293,8 +282,7 b' supervisor.group_id = dev'
293 labs_settings_active = true
282 labs_settings_active = true
294
283
295 ## custom exception store path, defaults to TMPDIR
284 ## custom exception store path, defaults to TMPDIR
296 exception_store_path =
285 exception_tracker.store_path =
297
298
286
299 ####################################
287 ####################################
300 ### CELERY CONFIG ####
288 ### CELERY CONFIG ####
@@ -20,17 +20,6 b' debug = true'
20 ## email FROM address all mails will be sent
20 ## email FROM address all mails will be sent
21 #app_email_from = rhodecode-noreply@localhost
21 #app_email_from = rhodecode-noreply@localhost
22
22
23 ## Uncomment and replace with the address which should receive any error report
24 ## note: using appenlight for error handling doesn't need this to be uncommented
25 #email_to = admin@localhost
26
27 ## in case of Application errors, sent an error email form
28 #error_email_from = rhodecode_error@localhost
29
30 ## additional error message to be send in case of server crash
31 #error_message =
32
33
34 #smtp_server = mail.server.com
23 #smtp_server = mail.server.com
35 #smtp_username =
24 #smtp_username =
36 #smtp_password =
25 #smtp_password =
@@ -268,7 +257,7 b' supervisor.group_id = prod'
268 labs_settings_active = true
257 labs_settings_active = true
269
258
270 ## custom exception store path, defaults to TMPDIR
259 ## custom exception store path, defaults to TMPDIR
271 exception_store_path =
260 exception_tracker.store_path =
272
261
273
262
274 ####################################
263 ####################################
@@ -452,7 +452,7 b' def _sanitize_cache_settings(settings):'
452 # exception store cache
452 # exception store cache
453 _string_setting(
453 _string_setting(
454 settings,
454 settings,
455 'exception_store_path',
455 'exception_tracker.store_path',
456 default_cache_dir, lower=False)
456 default_cache_dir, lower=False)
457
457
458 # cache_perms
458 # cache_perms
@@ -57,7 +57,7 b' def get_exc_store():'
57 """
57 """
58 import rhodecode as app
58 import rhodecode as app
59
59
60 exc_store_dir = app.CONFIG.get('exception_store_path', '') or tempfile.gettempdir()
60 exc_store_dir = app.CONFIG.get('exception_tracker.store_path', '') or tempfile.gettempdir()
61 _exc_store_path = os.path.join(exc_store_dir, exc_store_dir_name)
61 _exc_store_path = os.path.join(exc_store_dir, exc_store_dir_name)
62
62
63 _exc_store_path = os.path.abspath(_exc_store_path)
63 _exc_store_path = os.path.abspath(_exc_store_path)
General Comments 0
You need to be logged in to leave comments. Login now