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