Show More
@@ -52,7 +52,8 b' def sanitize_settings_and_apply_defaults' | |||
|
52 | 52 | default=False, |
|
53 | 53 | parser='bool') |
|
54 | 54 | |
|
55 |
|
|
|
55 | ini_loc = os.path.dirname(global_config.get('__file__')) | |
|
56 | logging_conf = jn(ini_loc, 'logging.ini') | |
|
56 | 57 | settings_maker.enable_logging(logging_conf, level='INFO' if debug_enabled else 'DEBUG') |
|
57 | 58 | |
|
58 | 59 | # Default includes, possible to change as a user |
@@ -95,6 +96,11 b' def sanitize_settings_and_apply_defaults' | |||
|
95 | 96 | settings_maker.make_setting('gzip_responses', False, parser='bool') |
|
96 | 97 | settings_maker.make_setting('startup.import_repos', 'false', parser='bool') |
|
97 | 98 | |
|
99 | # License settings. | |
|
100 | settings_maker.make_setting('license.hide_license_info', False, parser='bool') | |
|
101 | settings_maker.make_setting('license.import_path', jn(ini_loc, 'rhodecode_enterprise.license')) | |
|
102 | settings_maker.make_setting('license.import_path_mode', 'if-missing') | |
|
103 | ||
|
98 | 104 | # statsd |
|
99 | 105 | settings_maker.make_setting('statsd.enabled', False, parser='bool') |
|
100 | 106 | settings_maker.make_setting('statsd.statsd_host', 'statsd-exporter', parser='string') |
General Comments 0
You need to be logged in to leave comments.
Login now