##// END OF EJS Templates
ini: synced with latest changes
marcink -
r1279:a8d37de3 default
parent child Browse files
Show More
@@ -1,679 +1,681 b''
1
1
2
2
3 ################################################################################
3 ################################################################################
4 ## RHODECODE COMMUNITY EDITION CONFIGURATION ##
4 ## RHODECODE COMMUNITY EDITION CONFIGURATION ##
5 # The %(here)s variable will be replaced with the parent directory of this file#
5 # The %(here)s variable will be replaced with the parent directory of this file#
6 ################################################################################
6 ################################################################################
7
7
8 [DEFAULT]
8 [DEFAULT]
9 debug = true
9 debug = true
10
10
11 ################################################################################
11 ################################################################################
12 ## EMAIL CONFIGURATION ##
12 ## EMAIL CONFIGURATION ##
13 ## Uncomment and replace with the email address which should receive ##
13 ## Uncomment and replace with the email address which should receive ##
14 ## any error reports after an application crash ##
14 ## any error reports after an application crash ##
15 ## Additionally these settings will be used by the RhodeCode mailing system ##
15 ## Additionally these settings will be used by the RhodeCode mailing system ##
16 ################################################################################
16 ################################################################################
17
17
18 ## prefix all emails subjects with given prefix, helps filtering out emails
18 ## prefix all emails subjects with given prefix, helps filtering out emails
19 #email_prefix = [RhodeCode]
19 #email_prefix = [RhodeCode]
20
20
21 ## email FROM address all mails will be sent
21 ## email FROM address all mails will be sent
22 #app_email_from = rhodecode-noreply@localhost
22 #app_email_from = rhodecode-noreply@localhost
23
23
24 ## Uncomment and replace with the address which should receive any error report
24 ## Uncomment and replace with the address which should receive any error report
25 ## note: using appenlight for error handling doesn't need this to be uncommented
25 ## note: using appenlight for error handling doesn't need this to be uncommented
26 #email_to = admin@localhost
26 #email_to = admin@localhost
27
27
28 ## in case of Application errors, sent an error email form
28 ## in case of Application errors, sent an error email form
29 #error_email_from = rhodecode_error@localhost
29 #error_email_from = rhodecode_error@localhost
30
30
31 ## additional error message to be send in case of server crash
31 ## additional error message to be send in case of server crash
32 #error_message =
32 #error_message =
33
33
34
34
35 #smtp_server = mail.server.com
35 #smtp_server = mail.server.com
36 #smtp_username =
36 #smtp_username =
37 #smtp_password =
37 #smtp_password =
38 #smtp_port =
38 #smtp_port =
39 #smtp_use_tls = false
39 #smtp_use_tls = false
40 #smtp_use_ssl = true
40 #smtp_use_ssl = true
41 ## Specify available auth parameters here (e.g. LOGIN PLAIN CRAM-MD5, etc.)
41 ## Specify available auth parameters here (e.g. LOGIN PLAIN CRAM-MD5, etc.)
42 #smtp_auth =
42 #smtp_auth =
43
43
44 [server:main]
44 [server:main]
45 ## COMMON ##
45 ## COMMON ##
46 host = 127.0.0.1
46 host = 127.0.0.1
47 port = 5000
47 port = 5000
48
48
49 ##################################
49 ##################################
50 ## WAITRESS WSGI SERVER ##
50 ## WAITRESS WSGI SERVER ##
51 ## Recommended for Development ##
51 ## Recommended for Development ##
52 ##################################
52 ##################################
53
53
54 use = egg:waitress#main
54 use = egg:waitress#main
55 ## number of worker threads
55 ## number of worker threads
56 threads = 5
56 threads = 5
57 ## MAX BODY SIZE 100GB
57 ## MAX BODY SIZE 100GB
58 max_request_body_size = 107374182400
58 max_request_body_size = 107374182400
59 ## Use poll instead of select, fixes file descriptors limits problems.
59 ## Use poll instead of select, fixes file descriptors limits problems.
60 ## May not work on old windows systems.
60 ## May not work on old windows systems.
61 asyncore_use_poll = true
61 asyncore_use_poll = true
62
62
63
63
64 ##########################
64 ##########################
65 ## GUNICORN WSGI SERVER ##
65 ## GUNICORN WSGI SERVER ##
66 ##########################
66 ##########################
67 ## run with gunicorn --log-config rhodecode.ini --paste rhodecode.ini
67 ## run with gunicorn --log-config rhodecode.ini --paste rhodecode.ini
68
68
69 #use = egg:gunicorn#main
69 #use = egg:gunicorn#main
70 ## Sets the number of process workers. You must set `instance_id = *`
70 ## Sets the number of process workers. You must set `instance_id = *`
71 ## when this option is set to more than one worker, recommended
71 ## when this option is set to more than one worker, recommended
72 ## value is (2 * NUMBER_OF_CPUS + 1), eg 2CPU = 5 workers
72 ## value is (2 * NUMBER_OF_CPUS + 1), eg 2CPU = 5 workers
73 ## The `instance_id = *` must be set in the [app:main] section below
73 ## The `instance_id = *` must be set in the [app:main] section below
74 #workers = 2
74 #workers = 2
75 ## number of threads for each of the worker, must be set to 1 for gevent
75 ## number of threads for each of the worker, must be set to 1 for gevent
76 ## generally recommened to be at 1
76 ## generally recommened to be at 1
77 #threads = 1
77 #threads = 1
78 ## process name
78 ## process name
79 #proc_name = rhodecode
79 #proc_name = rhodecode
80 ## type of worker class, one of sync, gevent
80 ## type of worker class, one of sync, gevent
81 ## recommended for bigger setup is using of of other than sync one
81 ## recommended for bigger setup is using of of other than sync one
82 #worker_class = sync
82 #worker_class = sync
83 ## The maximum number of simultaneous clients. Valid only for Gevent
83 ## The maximum number of simultaneous clients. Valid only for Gevent
84 #worker_connections = 10
84 #worker_connections = 10
85 ## max number of requests that worker will handle before being gracefully
85 ## max number of requests that worker will handle before being gracefully
86 ## restarted, could prevent memory leaks
86 ## restarted, could prevent memory leaks
87 #max_requests = 1000
87 #max_requests = 1000
88 #max_requests_jitter = 30
88 #max_requests_jitter = 30
89 ## amount of time a worker can spend with handling a request before it
89 ## amount of time a worker can spend with handling a request before it
90 ## gets killed and restarted. Set to 6hrs
90 ## gets killed and restarted. Set to 6hrs
91 #timeout = 21600
91 #timeout = 21600
92
92
93
93
94 ## prefix middleware for RhodeCode.
94 ## prefix middleware for RhodeCode.
95 ## recommended when using proxy setup.
95 ## recommended when using proxy setup.
96 ## allows to set RhodeCode under a prefix in server.
96 ## allows to set RhodeCode under a prefix in server.
97 ## eg https://server.com/custom_prefix. Enable `filter-with =` option below as well.
97 ## eg https://server.com/custom_prefix. Enable `filter-with =` option below as well.
98 ## And set your prefix like: `prefix = /custom_prefix`
98 ## And set your prefix like: `prefix = /custom_prefix`
99 ## be sure to also set beaker.session.cookie_path = /custom_prefix if you need
99 ## be sure to also set beaker.session.cookie_path = /custom_prefix if you need
100 ## to make your cookies only work on prefix url
100 ## to make your cookies only work on prefix url
101 [filter:proxy-prefix]
101 [filter:proxy-prefix]
102 use = egg:PasteDeploy#prefix
102 use = egg:PasteDeploy#prefix
103 prefix = /
103 prefix = /
104
104
105 [app:main]
105 [app:main]
106 use = egg:rhodecode-enterprise-ce
106 use = egg:rhodecode-enterprise-ce
107
107
108 ## enable proxy prefix middleware, defined above
108 ## enable proxy prefix middleware, defined above
109 #filter-with = proxy-prefix
109 #filter-with = proxy-prefix
110
110
111 # During development the we want to have the debug toolbar enabled
111 # During development the we want to have the debug toolbar enabled
112 pyramid.includes =
112 pyramid.includes =
113 pyramid_debugtoolbar
113 pyramid_debugtoolbar
114 rhodecode.utils.debugtoolbar
114 rhodecode.utils.debugtoolbar
115 rhodecode.lib.middleware.request_wrapper
115 rhodecode.lib.middleware.request_wrapper
116
116
117 pyramid.reload_templates = true
117 pyramid.reload_templates = true
118
118
119 debugtoolbar.hosts = 0.0.0.0/0
119 debugtoolbar.hosts = 0.0.0.0/0
120 debugtoolbar.exclude_prefixes =
120 debugtoolbar.exclude_prefixes =
121 /css
121 /css
122 /fonts
122 /fonts
123 /images
123 /images
124 /js
124 /js
125
125
126 ## RHODECODE PLUGINS ##
126 ## RHODECODE PLUGINS ##
127 rhodecode.includes =
127 rhodecode.includes =
128 rhodecode.api
128 rhodecode.api
129
129
130
130
131 # api prefix url
131 # api prefix url
132 rhodecode.api.url = /_admin/api
132 rhodecode.api.url = /_admin/api
133
133
134
134
135 ## END RHODECODE PLUGINS ##
135 ## END RHODECODE PLUGINS ##
136
136
137 ## encryption key used to encrypt social plugin tokens,
137 ## encryption key used to encrypt social plugin tokens,
138 ## remote_urls with credentials etc, if not set it defaults to
138 ## remote_urls with credentials etc, if not set it defaults to
139 ## `beaker.session.secret`
139 ## `beaker.session.secret`
140 #rhodecode.encrypted_values.secret =
140 #rhodecode.encrypted_values.secret =
141
141
142 ## decryption strict mode (enabled by default). It controls if decryption raises
142 ## decryption strict mode (enabled by default). It controls if decryption raises
143 ## `SignatureVerificationError` in case of wrong key, or damaged encryption data.
143 ## `SignatureVerificationError` in case of wrong key, or damaged encryption data.
144 #rhodecode.encrypted_values.strict = false
144 #rhodecode.encrypted_values.strict = false
145
145
146 ## return gzipped responses from Rhodecode (static files/application)
146 ## return gzipped responses from Rhodecode (static files/application)
147 gzip_responses = false
147 gzip_responses = false
148
148
149 ## autogenerate javascript routes file on startup
149 ## autogenerate javascript routes file on startup
150 generate_js_files = false
150 generate_js_files = false
151
151
152 ## Optional Languages
152 ## Optional Languages
153 ## en(default), be, de, es, fr, it, ja, pl, pt, ru, zh
153 ## en(default), be, de, es, fr, it, ja, pl, pt, ru, zh
154 lang = en
154 lang = en
155
155
156 ## perform a full repository scan on each server start, this should be
156 ## perform a full repository scan on each server start, this should be
157 ## set to false after first startup, to allow faster server restarts.
157 ## set to false after first startup, to allow faster server restarts.
158 startup.import_repos = false
158 startup.import_repos = false
159
159
160 ## Uncomment and set this path to use archive download cache.
160 ## Uncomment and set this path to use archive download cache.
161 ## Once enabled, generated archives will be cached at this location
161 ## Once enabled, generated archives will be cached at this location
162 ## and served from the cache during subsequent requests for the same archive of
162 ## and served from the cache during subsequent requests for the same archive of
163 ## the repository.
163 ## the repository.
164 #archive_cache_dir = /tmp/tarballcache
164 #archive_cache_dir = /tmp/tarballcache
165
165
166 ## change this to unique ID for security
166 ## change this to unique ID for security
167 app_instance_uuid = rc-production
167 app_instance_uuid = rc-production
168
168
169 ## cut off limit for large diffs (size in bytes)
169 ## cut off limit for large diffs (size in bytes)
170 cut_off_limit_diff = 1024000
170 cut_off_limit_diff = 1024000
171 cut_off_limit_file = 256000
171 cut_off_limit_file = 256000
172
172
173 ## use cache version of scm repo everywhere
173 ## use cache version of scm repo everywhere
174 vcs_full_cache = true
174 vcs_full_cache = true
175
175
176 ## force https in RhodeCode, fixes https redirects, assumes it's always https
176 ## force https in RhodeCode, fixes https redirects, assumes it's always https
177 ## Normally this is controlled by proper http flags sent from http server
177 ## Normally this is controlled by proper http flags sent from http server
178 force_https = false
178 force_https = false
179
179
180 ## use Strict-Transport-Security headers
180 ## use Strict-Transport-Security headers
181 use_htsts = false
181 use_htsts = false
182
182
183 ## number of commits stats will parse on each iteration
183 ## number of commits stats will parse on each iteration
184 commit_parse_limit = 25
184 commit_parse_limit = 25
185
185
186 ## git rev filter option, --all is the default filter, if you need to
186 ## git rev filter option, --all is the default filter, if you need to
187 ## hide all refs in changelog switch this to --branches --tags
187 ## hide all refs in changelog switch this to --branches --tags
188 git_rev_filter = --branches --tags
188 git_rev_filter = --branches --tags
189
189
190 # Set to true if your repos are exposed using the dumb protocol
190 # Set to true if your repos are exposed using the dumb protocol
191 git_update_server_info = false
191 git_update_server_info = false
192
192
193 ## RSS/ATOM feed options
193 ## RSS/ATOM feed options
194 rss_cut_off_limit = 256000
194 rss_cut_off_limit = 256000
195 rss_items_per_page = 10
195 rss_items_per_page = 10
196 rss_include_diff = false
196 rss_include_diff = false
197
197
198 ## gist URL alias, used to create nicer urls for gist. This should be an
198 ## gist URL alias, used to create nicer urls for gist. This should be an
199 ## url that does rewrites to _admin/gists/{gistid}.
199 ## url that does rewrites to _admin/gists/{gistid}.
200 ## example: http://gist.rhodecode.org/{gistid}. Empty means use the internal
200 ## example: http://gist.rhodecode.org/{gistid}. Empty means use the internal
201 ## RhodeCode url, ie. http[s]://rhodecode.server/_admin/gists/{gistid}
201 ## RhodeCode url, ie. http[s]://rhodecode.server/_admin/gists/{gistid}
202 gist_alias_url =
202 gist_alias_url =
203
203
204 ## List of controllers (using glob pattern syntax) that AUTH TOKENS could be
204 ## List of controllers (using glob pattern syntax) that AUTH TOKENS could be
205 ## used for access.
205 ## used for access.
206 ## Adding ?auth_token=TOKEN_HASH to the url authenticates this request as if it
206 ## Adding ?auth_token=TOKEN_HASH to the url authenticates this request as if it
207 ## came from the the logged in user who own this authentication token.
207 ## came from the the logged in user who own this authentication token.
208 ##
208 ##
209 ## Syntax is ControllerClass:function_pattern.
209 ## Syntax is ControllerClass:function_pattern.
210 ## To enable access to raw_files put `FilesController:raw`.
210 ## To enable access to raw_files put `FilesController:raw`.
211 ## To enable access to patches add `ChangesetController:changeset_patch`.
211 ## To enable access to patches add `ChangesetController:changeset_patch`.
212 ## The list should be "," separated and on a single line.
212 ## The list should be "," separated and on a single line.
213 ##
213 ##
214 ## Recommended controllers to enable:
214 ## Recommended controllers to enable:
215 # ChangesetController:changeset_patch,
215 # ChangesetController:changeset_patch,
216 # ChangesetController:changeset_raw,
216 # ChangesetController:changeset_raw,
217 # FilesController:raw,
217 # FilesController:raw,
218 # FilesController:archivefile,
218 # FilesController:archivefile,
219 # GistsController:*,
219 # GistsController:*,
220 api_access_controllers_whitelist =
220 api_access_controllers_whitelist =
221
221
222 ## default encoding used to convert from and to unicode
222 ## default encoding used to convert from and to unicode
223 ## can be also a comma separated list of encoding in case of mixed encodings
223 ## can be also a comma separated list of encoding in case of mixed encodings
224 default_encoding = UTF-8
224 default_encoding = UTF-8
225
225
226 ## instance-id prefix
226 ## instance-id prefix
227 ## a prefix key for this instance used for cache invalidation when running
227 ## a prefix key for this instance used for cache invalidation when running
228 ## multiple instances of rhodecode, make sure it's globally unique for
228 ## multiple instances of rhodecode, make sure it's globally unique for
229 ## all running rhodecode instances. Leave empty if you don't use it
229 ## all running rhodecode instances. Leave empty if you don't use it
230 instance_id =
230 instance_id =
231
231
232 ## Fallback authentication plugin. Set this to a plugin ID to force the usage
232 ## Fallback authentication plugin. Set this to a plugin ID to force the usage
233 ## of an authentication plugin also if it is disabled by it's settings.
233 ## of an authentication plugin also if it is disabled by it's settings.
234 ## This could be useful if you are unable to log in to the system due to broken
234 ## This could be useful if you are unable to log in to the system due to broken
235 ## authentication settings. Then you can enable e.g. the internal rhodecode auth
235 ## authentication settings. Then you can enable e.g. the internal rhodecode auth
236 ## module to log in again and fix the settings.
236 ## module to log in again and fix the settings.
237 ##
237 ##
238 ## Available builtin plugin IDs (hash is part of the ID):
238 ## Available builtin plugin IDs (hash is part of the ID):
239 ## egg:rhodecode-enterprise-ce#rhodecode
239 ## egg:rhodecode-enterprise-ce#rhodecode
240 ## egg:rhodecode-enterprise-ce#pam
240 ## egg:rhodecode-enterprise-ce#pam
241 ## egg:rhodecode-enterprise-ce#ldap
241 ## egg:rhodecode-enterprise-ce#ldap
242 ## egg:rhodecode-enterprise-ce#jasig_cas
242 ## egg:rhodecode-enterprise-ce#jasig_cas
243 ## egg:rhodecode-enterprise-ce#headers
243 ## egg:rhodecode-enterprise-ce#headers
244 ## egg:rhodecode-enterprise-ce#crowd
244 ## egg:rhodecode-enterprise-ce#crowd
245 #rhodecode.auth_plugin_fallback = egg:rhodecode-enterprise-ce#rhodecode
245 #rhodecode.auth_plugin_fallback = egg:rhodecode-enterprise-ce#rhodecode
246
246
247 ## alternative return HTTP header for failed authentication. Default HTTP
247 ## alternative return HTTP header for failed authentication. Default HTTP
248 ## response is 401 HTTPUnauthorized. Currently HG clients have troubles with
248 ## response is 401 HTTPUnauthorized. Currently HG clients have troubles with
249 ## handling that causing a series of failed authentication calls.
249 ## handling that causing a series of failed authentication calls.
250 ## Set this variable to 403 to return HTTPForbidden, or any other HTTP code
250 ## Set this variable to 403 to return HTTPForbidden, or any other HTTP code
251 ## This will be served instead of default 401 on bad authnetication
251 ## This will be served instead of default 401 on bad authnetication
252 auth_ret_code =
252 auth_ret_code =
253
253
254 ## use special detection method when serving auth_ret_code, instead of serving
254 ## use special detection method when serving auth_ret_code, instead of serving
255 ## ret_code directly, use 401 initially (Which triggers credentials prompt)
255 ## ret_code directly, use 401 initially (Which triggers credentials prompt)
256 ## and then serve auth_ret_code to clients
256 ## and then serve auth_ret_code to clients
257 auth_ret_code_detection = false
257 auth_ret_code_detection = false
258
258
259 ## locking return code. When repository is locked return this HTTP code. 2XX
259 ## locking return code. When repository is locked return this HTTP code. 2XX
260 ## codes don't break the transactions while 4XX codes do
260 ## codes don't break the transactions while 4XX codes do
261 lock_ret_code = 423
261 lock_ret_code = 423
262
262
263 ## allows to change the repository location in settings page
263 ## allows to change the repository location in settings page
264 allow_repo_location_change = true
264 allow_repo_location_change = true
265
265
266 ## allows to setup custom hooks in settings page
266 ## allows to setup custom hooks in settings page
267 allow_custom_hooks_settings = true
267 allow_custom_hooks_settings = true
268
268
269 ## generated license token, goto license page in RhodeCode settings to obtain
269 ## generated license token, goto license page in RhodeCode settings to obtain
270 ## new token
270 ## new token
271 license_token =
271 license_token =
272
272
273 ## supervisor connection uri, for managing supervisor and logs.
273 ## supervisor connection uri, for managing supervisor and logs.
274 supervisor.uri =
274 supervisor.uri =
275 ## supervisord group name/id we only want this RC instance to handle
275 ## supervisord group name/id we only want this RC instance to handle
276 supervisor.group_id = dev
276 supervisor.group_id = dev
277
277
278 ## Display extended labs settings
278 ## Display extended labs settings
279 labs_settings_active = true
279 labs_settings_active = true
280
280
281 ####################################
281 ####################################
282 ### CELERY CONFIG ####
282 ### CELERY CONFIG ####
283 ####################################
283 ####################################
284 use_celery = false
284 use_celery = false
285 broker.host = localhost
285 broker.host = localhost
286 broker.vhost = rabbitmqhost
286 broker.vhost = rabbitmqhost
287 broker.port = 5672
287 broker.port = 5672
288 broker.user = rabbitmq
288 broker.user = rabbitmq
289 broker.password = qweqwe
289 broker.password = qweqwe
290
290
291 celery.imports = rhodecode.lib.celerylib.tasks
291 celery.imports = rhodecode.lib.celerylib.tasks
292
292
293 celery.result.backend = amqp
293 celery.result.backend = amqp
294 celery.result.dburi = amqp://
294 celery.result.dburi = amqp://
295 celery.result.serialier = json
295 celery.result.serialier = json
296
296
297 #celery.send.task.error.emails = true
297 #celery.send.task.error.emails = true
298 #celery.amqp.task.result.expires = 18000
298 #celery.amqp.task.result.expires = 18000
299
299
300 celeryd.concurrency = 2
300 celeryd.concurrency = 2
301 #celeryd.log.file = celeryd.log
301 #celeryd.log.file = celeryd.log
302 celeryd.log.level = debug
302 celeryd.log.level = debug
303 celeryd.max.tasks.per.child = 1
303 celeryd.max.tasks.per.child = 1
304
304
305 ## tasks will never be sent to the queue, but executed locally instead.
305 ## tasks will never be sent to the queue, but executed locally instead.
306 celery.always.eager = false
306 celery.always.eager = false
307
307
308 ####################################
308 ####################################
309 ### BEAKER CACHE ####
309 ### BEAKER CACHE ####
310 ####################################
310 ####################################
311 # default cache dir for templates. Putting this into a ramdisk
311 # default cache dir for templates. Putting this into a ramdisk
312 ## can boost performance, eg. %(here)s/data_ramdisk
312 ## can boost performance, eg. %(here)s/data_ramdisk
313 cache_dir = %(here)s/data
313 cache_dir = %(here)s/data
314
314
315 ## locking and default file storage for Beaker. Putting this into a ramdisk
315 ## locking and default file storage for Beaker. Putting this into a ramdisk
316 ## can boost performance, eg. %(here)s/data_ramdisk/cache/beaker_data
316 ## can boost performance, eg. %(here)s/data_ramdisk/cache/beaker_data
317 beaker.cache.data_dir = %(here)s/data/cache/beaker_data
317 beaker.cache.data_dir = %(here)s/data/cache/beaker_data
318 beaker.cache.lock_dir = %(here)s/data/cache/beaker_lock
318 beaker.cache.lock_dir = %(here)s/data/cache/beaker_lock
319
319
320 beaker.cache.regions = super_short_term, short_term, long_term, sql_cache_short, auth_plugins, repo_cache_long
320 beaker.cache.regions = super_short_term, short_term, long_term, sql_cache_short, auth_plugins, repo_cache_long
321
321
322 beaker.cache.super_short_term.type = memory
322 beaker.cache.super_short_term.type = memory
323 beaker.cache.super_short_term.expire = 10
323 beaker.cache.super_short_term.expire = 10
324 beaker.cache.super_short_term.key_length = 256
324 beaker.cache.super_short_term.key_length = 256
325
325
326 beaker.cache.short_term.type = memory
326 beaker.cache.short_term.type = memory
327 beaker.cache.short_term.expire = 60
327 beaker.cache.short_term.expire = 60
328 beaker.cache.short_term.key_length = 256
328 beaker.cache.short_term.key_length = 256
329
329
330 beaker.cache.long_term.type = memory
330 beaker.cache.long_term.type = memory
331 beaker.cache.long_term.expire = 36000
331 beaker.cache.long_term.expire = 36000
332 beaker.cache.long_term.key_length = 256
332 beaker.cache.long_term.key_length = 256
333
333
334 beaker.cache.sql_cache_short.type = memory
334 beaker.cache.sql_cache_short.type = memory
335 beaker.cache.sql_cache_short.expire = 10
335 beaker.cache.sql_cache_short.expire = 10
336 beaker.cache.sql_cache_short.key_length = 256
336 beaker.cache.sql_cache_short.key_length = 256
337
337
338 ## default is memory cache, configure only if required
338 ## default is memory cache, configure only if required
339 ## using multi-node or multi-worker setup
339 ## using multi-node or multi-worker setup
340 #beaker.cache.auth_plugins.type = ext:database
340 #beaker.cache.auth_plugins.type = ext:database
341 #beaker.cache.auth_plugins.lock_dir = %(here)s/data/cache/auth_plugin_lock
341 #beaker.cache.auth_plugins.lock_dir = %(here)s/data/cache/auth_plugin_lock
342 #beaker.cache.auth_plugins.url = postgresql://postgres:secret@localhost/rhodecode
342 #beaker.cache.auth_plugins.url = postgresql://postgres:secret@localhost/rhodecode
343 #beaker.cache.auth_plugins.url = mysql://root:secret@127.0.0.1/rhodecode
343 #beaker.cache.auth_plugins.url = mysql://root:secret@127.0.0.1/rhodecode
344 #beaker.cache.auth_plugins.sa.pool_recycle = 3600
344 #beaker.cache.auth_plugins.sa.pool_recycle = 3600
345 #beaker.cache.auth_plugins.sa.pool_size = 10
345 #beaker.cache.auth_plugins.sa.pool_size = 10
346 #beaker.cache.auth_plugins.sa.max_overflow = 0
346 #beaker.cache.auth_plugins.sa.max_overflow = 0
347
347
348 beaker.cache.repo_cache_long.type = memorylru_base
348 beaker.cache.repo_cache_long.type = memorylru_base
349 beaker.cache.repo_cache_long.max_items = 4096
349 beaker.cache.repo_cache_long.max_items = 4096
350 beaker.cache.repo_cache_long.expire = 2592000
350 beaker.cache.repo_cache_long.expire = 2592000
351
351
352 ## default is memorylru_base cache, configure only if required
352 ## default is memorylru_base cache, configure only if required
353 ## using multi-node or multi-worker setup
353 ## using multi-node or multi-worker setup
354 #beaker.cache.repo_cache_long.type = ext:memcached
354 #beaker.cache.repo_cache_long.type = ext:memcached
355 #beaker.cache.repo_cache_long.url = localhost:11211
355 #beaker.cache.repo_cache_long.url = localhost:11211
356 #beaker.cache.repo_cache_long.expire = 1209600
356 #beaker.cache.repo_cache_long.expire = 1209600
357 #beaker.cache.repo_cache_long.key_length = 256
357 #beaker.cache.repo_cache_long.key_length = 256
358
358
359 ####################################
359 ####################################
360 ### BEAKER SESSION ####
360 ### BEAKER SESSION ####
361 ####################################
361 ####################################
362
362
363 ## .session.type is type of storage options for the session, current allowed
363 ## .session.type is type of storage options for the session, current allowed
364 ## types are file, ext:memcached, ext:database, and memory (default).
364 ## types are file, ext:memcached, ext:database, and memory (default).
365 beaker.session.type = file
365 beaker.session.type = file
366 beaker.session.data_dir = %(here)s/data/sessions/data
366 beaker.session.data_dir = %(here)s/data/sessions/data
367
367
368 ## db based session, fast, and allows easy management over logged in users
368 ## db based session, fast, and allows easy management over logged in users
369 #beaker.session.type = ext:database
369 #beaker.session.type = ext:database
370 #beaker.session.table_name = db_session
370 #beaker.session.table_name = db_session
371 #beaker.session.sa.url = postgresql://postgres:secret@localhost/rhodecode
371 #beaker.session.sa.url = postgresql://postgres:secret@localhost/rhodecode
372 #beaker.session.sa.url = mysql://root:secret@127.0.0.1/rhodecode
372 #beaker.session.sa.url = mysql://root:secret@127.0.0.1/rhodecode
373 #beaker.session.sa.pool_recycle = 3600
373 #beaker.session.sa.pool_recycle = 3600
374 #beaker.session.sa.echo = false
374 #beaker.session.sa.echo = false
375
375
376 beaker.session.key = rhodecode
376 beaker.session.key = rhodecode
377 beaker.session.secret = develop-rc-uytcxaz
377 beaker.session.secret = develop-rc-uytcxaz
378 beaker.session.lock_dir = %(here)s/data/sessions/lock
378 beaker.session.lock_dir = %(here)s/data/sessions/lock
379
379
380 ## Secure encrypted cookie. Requires AES and AES python libraries
380 ## Secure encrypted cookie. Requires AES and AES python libraries
381 ## you must disable beaker.session.secret to use this
381 ## you must disable beaker.session.secret to use this
382 #beaker.session.encrypt_key = key_for_encryption
382 #beaker.session.encrypt_key = key_for_encryption
383 #beaker.session.validate_key = validation_key
383 #beaker.session.validate_key = validation_key
384
384
385 ## sets session as invalid(also logging out user) if it haven not been
385 ## sets session as invalid(also logging out user) if it haven not been
386 ## accessed for given amount of time in seconds
386 ## accessed for given amount of time in seconds
387 beaker.session.timeout = 2592000
387 beaker.session.timeout = 2592000
388 beaker.session.httponly = true
388 beaker.session.httponly = true
389 ## Path to use for the cookie. Set to prefix if you use prefix middleware
389 ## Path to use for the cookie. Set to prefix if you use prefix middleware
390 #beaker.session.cookie_path = /custom_prefix
390 #beaker.session.cookie_path = /custom_prefix
391
391
392 ## uncomment for https secure cookie
392 ## uncomment for https secure cookie
393 beaker.session.secure = false
393 beaker.session.secure = false
394
394
395 ## auto save the session to not to use .save()
395 ## auto save the session to not to use .save()
396 beaker.session.auto = false
396 beaker.session.auto = false
397
397
398 ## default cookie expiration time in seconds, set to `true` to set expire
398 ## default cookie expiration time in seconds, set to `true` to set expire
399 ## at browser close
399 ## at browser close
400 #beaker.session.cookie_expires = 3600
400 #beaker.session.cookie_expires = 3600
401
401
402 ###################################
402 ###################################
403 ## SEARCH INDEXING CONFIGURATION ##
403 ## SEARCH INDEXING CONFIGURATION ##
404 ###################################
404 ###################################
405 ## Full text search indexer is available in rhodecode-tools under
405 ## Full text search indexer is available in rhodecode-tools under
406 ## `rhodecode-tools index` command
406 ## `rhodecode-tools index` command
407
407
408 ## WHOOSH Backend, doesn't require additional services to run
408 ## WHOOSH Backend, doesn't require additional services to run
409 ## it works good with few dozen repos
409 ## it works good with few dozen repos
410 search.module = rhodecode.lib.index.whoosh
410 search.module = rhodecode.lib.index.whoosh
411 search.location = %(here)s/data/index
411 search.location = %(here)s/data/index
412
412
413 ########################################
413 ########################################
414 ### CHANNELSTREAM CONFIG ####
414 ### CHANNELSTREAM CONFIG ####
415 ########################################
415 ########################################
416 ## channelstream enables persistent connections and live notification
416 ## channelstream enables persistent connections and live notification
417 ## in the system. It's also used by the chat system
417 ## in the system. It's also used by the chat system
418 channelstream.enabled = false
418
419
419 channelstream.enabled = false
420 ## server address for channelstream server on the backend
420 ## location of channelstream server on the backend
421 channelstream.server = 127.0.0.1:9800
421 channelstream.server = 127.0.0.1:9800
422
422 ## location of the channelstream server from outside world
423 ## location of the channelstream server from outside world
423 ## most likely this would be an http server special backend URL, that handles
424 ## use ws:// for http or wss:// for https. This address needs to be handled
424 ## websocket connections see nginx example for config
425 ## by external HTTP server such as Nginx or Apache
425 # channelstream.ws_url = ws://rhodecode.yourserver.com/_channelstream
426 ## see nginx/apache configuration examples in our docs
426 ## proxy path that can be used by http daemons for exposing channelstream
427 channelstream.ws_url = ws://rhodecode.yourserver.com/_channelstream
427 # channelstream.proxy_path = /_channelstream
428 channelstream.secret = secret
428 channelstream.secret = secret
429 channelstream.history.location = %(here)s/channelstream_history
429 channelstream.history.location = %(here)s/channelstream_history
430
430
431 ## Internal application path that Javascript uses to connect into.
432 ## If you use proxy-prefix the prefix should be added before /_channelstream
433 channelstream.proxy_path = /_channelstream
434
431
435
432 ###################################
436 ###################################
433 ## APPENLIGHT CONFIG ##
437 ## APPENLIGHT CONFIG ##
434 ###################################
438 ###################################
435
439
436 ## Appenlight is tailored to work with RhodeCode, see
440 ## Appenlight is tailored to work with RhodeCode, see
437 ## http://appenlight.com for details how to obtain an account
441 ## http://appenlight.com for details how to obtain an account
438
442
439 ## appenlight integration enabled
443 ## appenlight integration enabled
440 appenlight = false
444 appenlight = false
441
445
442 appenlight.server_url = https://api.appenlight.com
446 appenlight.server_url = https://api.appenlight.com
443 appenlight.api_key = YOUR_API_KEY
447 appenlight.api_key = YOUR_API_KEY
444 #appenlight.transport_config = https://api.appenlight.com?threaded=1&timeout=5
448 #appenlight.transport_config = https://api.appenlight.com?threaded=1&timeout=5
445
449
446 # used for JS client
450 # used for JS client
447 appenlight.api_public_key = YOUR_API_PUBLIC_KEY
451 appenlight.api_public_key = YOUR_API_PUBLIC_KEY
448
452
449 ## TWEAK AMOUNT OF INFO SENT HERE
453 ## TWEAK AMOUNT OF INFO SENT HERE
450
454
451 ## enables 404 error logging (default False)
455 ## enables 404 error logging (default False)
452 appenlight.report_404 = false
456 appenlight.report_404 = false
453
457
454 ## time in seconds after request is considered being slow (default 1)
458 ## time in seconds after request is considered being slow (default 1)
455 appenlight.slow_request_time = 1
459 appenlight.slow_request_time = 1
456
460
457 ## record slow requests in application
461 ## record slow requests in application
458 ## (needs to be enabled for slow datastore recording and time tracking)
462 ## (needs to be enabled for slow datastore recording and time tracking)
459 appenlight.slow_requests = true
463 appenlight.slow_requests = true
460
464
461 ## enable hooking to application loggers
465 ## enable hooking to application loggers
462 appenlight.logging = true
466 appenlight.logging = true
463
467
464 ## minimum log level for log capture
468 ## minimum log level for log capture
465 appenlight.logging.level = WARNING
469 appenlight.logging.level = WARNING
466
470
467 ## send logs only from erroneous/slow requests
471 ## send logs only from erroneous/slow requests
468 ## (saves API quota for intensive logging)
472 ## (saves API quota for intensive logging)
469 appenlight.logging_on_error = false
473 appenlight.logging_on_error = false
470
474
471 ## list of additonal keywords that should be grabbed from environ object
475 ## list of additonal keywords that should be grabbed from environ object
472 ## can be string with comma separated list of words in lowercase
476 ## can be string with comma separated list of words in lowercase
473 ## (by default client will always send following info:
477 ## (by default client will always send following info:
474 ## 'REMOTE_USER', 'REMOTE_ADDR', 'SERVER_NAME', 'CONTENT_TYPE' + all keys that
478 ## 'REMOTE_USER', 'REMOTE_ADDR', 'SERVER_NAME', 'CONTENT_TYPE' + all keys that
475 ## start with HTTP* this list be extended with additional keywords here
479 ## start with HTTP* this list be extended with additional keywords here
476 appenlight.environ_keys_whitelist =
480 appenlight.environ_keys_whitelist =
477
481
478 ## list of keywords that should be blanked from request object
482 ## list of keywords that should be blanked from request object
479 ## can be string with comma separated list of words in lowercase
483 ## can be string with comma separated list of words in lowercase
480 ## (by default client will always blank keys that contain following words
484 ## (by default client will always blank keys that contain following words
481 ## 'password', 'passwd', 'pwd', 'auth_tkt', 'secret', 'csrf'
485 ## 'password', 'passwd', 'pwd', 'auth_tkt', 'secret', 'csrf'
482 ## this list be extended with additional keywords set here
486 ## this list be extended with additional keywords set here
483 appenlight.request_keys_blacklist =
487 appenlight.request_keys_blacklist =
484
488
485 ## list of namespaces that should be ignores when gathering log entries
489 ## list of namespaces that should be ignores when gathering log entries
486 ## can be string with comma separated list of namespaces
490 ## can be string with comma separated list of namespaces
487 ## (by default the client ignores own entries: appenlight_client.client)
491 ## (by default the client ignores own entries: appenlight_client.client)
488 appenlight.log_namespace_blacklist =
492 appenlight.log_namespace_blacklist =
489
493
490
494
491 ################################################################################
495 ################################################################################
492 ## WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT* ##
496 ## WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT* ##
493 ## Debug mode will enable the interactive debugging tool, allowing ANYONE to ##
497 ## Debug mode will enable the interactive debugging tool, allowing ANYONE to ##
494 ## execute malicious code after an exception is raised. ##
498 ## execute malicious code after an exception is raised. ##
495 ################################################################################
499 ################################################################################
496 #set debug = false
500 #set debug = false
497
501
498
502
499 ##############
503 ##############
500 ## STYLING ##
504 ## STYLING ##
501 ##############
505 ##############
502 debug_style = true
506 debug_style = true
503
507
504 #########################################################
508 ###########################################
505 ### DB CONFIGS - EACH DB WILL HAVE IT'S OWN CONFIG ###
509 ### MAIN RHODECODE DATABASE CONFIG ###
506 #########################################################
510 ###########################################
507 #sqlalchemy.db1.url = sqlite:///%(here)s/rhodecode.db?timeout=30
511 #sqlalchemy.db1.url = sqlite:///%(here)s/rhodecode.db?timeout=30
508 #sqlalchemy.db1.url = postgresql://postgres:qweqwe@localhost/rhodecode
512 #sqlalchemy.db1.url = postgresql://postgres:qweqwe@localhost/rhodecode
509 #sqlalchemy.db1.url = mysql://root:qweqwe@localhost/rhodecode
513 #sqlalchemy.db1.url = mysql://root:qweqwe@localhost/rhodecode
510 sqlalchemy.db1.url = sqlite:///%(here)s/rhodecode.db?timeout=30
514 sqlalchemy.db1.url = sqlite:///%(here)s/rhodecode.db?timeout=30
511
515
512 # see sqlalchemy docs for other advanced settings
516 # see sqlalchemy docs for other advanced settings
513
517
514 ## print the sql statements to output
518 ## print the sql statements to output
515 sqlalchemy.db1.echo = false
519 sqlalchemy.db1.echo = false
516 ## recycle the connections after this amount of seconds
520 ## recycle the connections after this amount of seconds
517 sqlalchemy.db1.pool_recycle = 3600
521 sqlalchemy.db1.pool_recycle = 3600
518 sqlalchemy.db1.convert_unicode = true
522 sqlalchemy.db1.convert_unicode = true
519
523
520 ## the number of connections to keep open inside the connection pool.
524 ## the number of connections to keep open inside the connection pool.
521 ## 0 indicates no limit
525 ## 0 indicates no limit
522 #sqlalchemy.db1.pool_size = 5
526 #sqlalchemy.db1.pool_size = 5
523
527
524 ## the number of connections to allow in connection pool "overflow", that is
528 ## the number of connections to allow in connection pool "overflow", that is
525 ## connections that can be opened above and beyond the pool_size setting,
529 ## connections that can be opened above and beyond the pool_size setting,
526 ## which defaults to five.
530 ## which defaults to five.
527 #sqlalchemy.db1.max_overflow = 10
531 #sqlalchemy.db1.max_overflow = 10
528
532
529
533
530 ##################
534 ##################
531 ### VCS CONFIG ###
535 ### VCS CONFIG ###
532 ##################
536 ##################
533 vcs.server.enable = true
537 vcs.server.enable = true
534 vcs.server = localhost:9900
538 vcs.server = localhost:9900
535
539
536 ## Web server connectivity protocol, responsible for web based VCS operatations
540 ## Web server connectivity protocol, responsible for web based VCS operatations
537 ## Available protocols are:
541 ## Available protocols are:
538 ## `pyro4` - use pyro4 server
542 ## `pyro4` - use pyro4 server
539 ## `http` - use http-rpc backend (default)
543 ## `http` - use http-rpc backend (default)
540 vcs.server.protocol = http
544 vcs.server.protocol = http
541
545
542 ## Push/Pull operations protocol, available options are:
546 ## Push/Pull operations protocol, available options are:
543 ## `pyro4` - use pyro4 server
547 ## `pyro4` - use pyro4 server
544 ## `http` - use http-rpc backend (default)
548 ## `http` - use http-rpc backend (default)
545 ##
549 ##
546 vcs.scm_app_implementation = http
550 vcs.scm_app_implementation = http
547
551
548 ## Push/Pull operations hooks protocol, available options are:
552 ## Push/Pull operations hooks protocol, available options are:
549 ## `pyro4` - use pyro4 server
553 ## `pyro4` - use pyro4 server
550 ## `http` - use http-rpc backend (default)
554 ## `http` - use http-rpc backend (default)
551 vcs.hooks.protocol = http
555 vcs.hooks.protocol = http
552
556
553 vcs.server.log_level = debug
557 vcs.server.log_level = debug
554 ## Start VCSServer with this instance as a subprocess, usefull for development
558 ## Start VCSServer with this instance as a subprocess, usefull for development
555 vcs.start_server = true
559 vcs.start_server = true
556
560
557 ## List of enabled VCS backends, available options are:
561 ## List of enabled VCS backends, available options are:
558 ## `hg` - mercurial
562 ## `hg` - mercurial
559 ## `git` - git
563 ## `git` - git
560 ## `svn` - subversion
564 ## `svn` - subversion
561 vcs.backends = hg, git, svn
565 vcs.backends = hg, git, svn
562
566
563 vcs.connection_timeout = 3600
567 vcs.connection_timeout = 3600
564 ## Compatibility version when creating SVN repositories. Defaults to newest version when commented out.
568 ## Compatibility version when creating SVN repositories. Defaults to newest version when commented out.
565 ## Available options are: pre-1.4-compatible, pre-1.5-compatible, pre-1.6-compatible, pre-1.8-compatible
569 ## Available options are: pre-1.4-compatible, pre-1.5-compatible, pre-1.6-compatible, pre-1.8-compatible
566 #vcs.svn.compatible_version = pre-1.8-compatible
570 #vcs.svn.compatible_version = pre-1.8-compatible
567
571
568
572
569 ############################################################
573 ############################################################
570 ### Subversion proxy support (mod_dav_svn) ###
574 ### Subversion proxy support (mod_dav_svn) ###
571 ### Maps RhodeCode repo groups into SVN paths for Apache ###
575 ### Maps RhodeCode repo groups into SVN paths for Apache ###
572 ############################################################
576 ############################################################
573 ## Enable or disable the config file generation.
577 ## Enable or disable the config file generation.
574 svn.proxy.generate_config = false
578 svn.proxy.generate_config = false
575 ## Generate config file with `SVNListParentPath` set to `On`.
579 ## Generate config file with `SVNListParentPath` set to `On`.
576 svn.proxy.list_parent_path = true
580 svn.proxy.list_parent_path = true
577 ## Set location and file name of generated config file.
581 ## Set location and file name of generated config file.
578 svn.proxy.config_file_path = %(here)s/mod_dav_svn.conf
582 svn.proxy.config_file_path = %(here)s/mod_dav_svn.conf
579 ## Used as a prefix to the `Location` block in the generated config file.
583 ## Used as a prefix to the `Location` block in the generated config file.
580 ## In most cases it should be set to `/`.
584 ## In most cases it should be set to `/`.
581 svn.proxy.location_root = /
585 svn.proxy.location_root = /
582 ## Command to reload the mod dav svn configuration on change.
586 ## Command to reload the mod dav svn configuration on change.
583 ## Example: `/etc/init.d/apache2 reload`
587 ## Example: `/etc/init.d/apache2 reload`
584 #svn.proxy.reload_cmd = /etc/init.d/apache2 reload
588 #svn.proxy.reload_cmd = /etc/init.d/apache2 reload
585 ## If the timeout expires before the reload command finishes, the command will
589 ## If the timeout expires before the reload command finishes, the command will
586 ## be killed. Setting it to zero means no timeout. Defaults to 10 seconds.
590 ## be killed. Setting it to zero means no timeout. Defaults to 10 seconds.
587 #svn.proxy.reload_timeout = 10
591 #svn.proxy.reload_timeout = 10
588
592
593 ## Dummy marker to add new entries after.
594 ## Add any custom entries below. Please don't remove.
595 custom.conf = 1
596
589
597
590 ################################
598 ################################
591 ### LOGGING CONFIGURATION ####
599 ### LOGGING CONFIGURATION ####
592 ################################
600 ################################
593 [loggers]
601 [loggers]
594 keys = root, routes, rhodecode, sqlalchemy, beaker, pyro4, templates
602 keys = root, routes, rhodecode, sqlalchemy, beaker, templates
595
603
596 [handlers]
604 [handlers]
597 keys = console, console_sql
605 keys = console, console_sql
598
606
599 [formatters]
607 [formatters]
600 keys = generic, color_formatter, color_formatter_sql
608 keys = generic, color_formatter, color_formatter_sql
601
609
602 #############
610 #############
603 ## LOGGERS ##
611 ## LOGGERS ##
604 #############
612 #############
605 [logger_root]
613 [logger_root]
606 level = NOTSET
614 level = NOTSET
607 handlers = console
615 handlers = console
608
616
609 [logger_routes]
617 [logger_routes]
610 level = DEBUG
618 level = DEBUG
611 handlers =
619 handlers =
612 qualname = routes.middleware
620 qualname = routes.middleware
613 ## "level = DEBUG" logs the route matched and routing variables.
621 ## "level = DEBUG" logs the route matched and routing variables.
614 propagate = 1
622 propagate = 1
615
623
616 [logger_beaker]
624 [logger_beaker]
617 level = DEBUG
625 level = DEBUG
618 handlers =
626 handlers =
619 qualname = beaker.container
627 qualname = beaker.container
620 propagate = 1
628 propagate = 1
621
629
622 [logger_pyro4]
623 level = DEBUG
624 handlers =
625 qualname = Pyro4
626 propagate = 1
627
628 [logger_templates]
630 [logger_templates]
629 level = INFO
631 level = INFO
630 handlers =
632 handlers =
631 qualname = pylons.templating
633 qualname = pylons.templating
632 propagate = 1
634 propagate = 1
633
635
634 [logger_rhodecode]
636 [logger_rhodecode]
635 level = DEBUG
637 level = DEBUG
636 handlers =
638 handlers =
637 qualname = rhodecode
639 qualname = rhodecode
638 propagate = 1
640 propagate = 1
639
641
640 [logger_sqlalchemy]
642 [logger_sqlalchemy]
641 level = INFO
643 level = INFO
642 handlers = console_sql
644 handlers = console_sql
643 qualname = sqlalchemy.engine
645 qualname = sqlalchemy.engine
644 propagate = 0
646 propagate = 0
645
647
646 ##############
648 ##############
647 ## HANDLERS ##
649 ## HANDLERS ##
648 ##############
650 ##############
649
651
650 [handler_console]
652 [handler_console]
651 class = StreamHandler
653 class = StreamHandler
652 args = (sys.stderr,)
654 args = (sys.stderr, )
653 level = DEBUG
655 level = DEBUG
654 formatter = color_formatter
656 formatter = color_formatter
655
657
656 [handler_console_sql]
658 [handler_console_sql]
657 class = StreamHandler
659 class = StreamHandler
658 args = (sys.stderr,)
660 args = (sys.stderr, )
659 level = DEBUG
661 level = DEBUG
660 formatter = color_formatter_sql
662 formatter = color_formatter_sql
661
663
662 ################
664 ################
663 ## FORMATTERS ##
665 ## FORMATTERS ##
664 ################
666 ################
665
667
666 [formatter_generic]
668 [formatter_generic]
667 class = rhodecode.lib.logging_formatter.Pyro4AwareFormatter
669 class = rhodecode.lib.logging_formatter.Pyro4AwareFormatter
668 format = %(asctime)s.%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
670 format = %(asctime)s.%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
669 datefmt = %Y-%m-%d %H:%M:%S
671 datefmt = %Y-%m-%d %H:%M:%S
670
672
671 [formatter_color_formatter]
673 [formatter_color_formatter]
672 class = rhodecode.lib.logging_formatter.ColorFormatter
674 class = rhodecode.lib.logging_formatter.ColorFormatter
673 format = %(asctime)s.%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
675 format = %(asctime)s.%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
674 datefmt = %Y-%m-%d %H:%M:%S
676 datefmt = %Y-%m-%d %H:%M:%S
675
677
676 [formatter_color_formatter_sql]
678 [formatter_color_formatter_sql]
677 class = rhodecode.lib.logging_formatter.ColorFormatterSql
679 class = rhodecode.lib.logging_formatter.ColorFormatterSql
678 format = %(asctime)s.%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
680 format = %(asctime)s.%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
679 datefmt = %Y-%m-%d %H:%M:%S
681 datefmt = %Y-%m-%d %H:%M:%S
General Comments 0
You need to be logged in to leave comments. Login now