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