Show More
@@ -0,0 +1,83 b'' | |||||
|
1 | ################################################################################ | |||
|
2 | # RhodeCode VCSServer with HTTP Backend - configuration # | |||
|
3 | # # | |||
|
4 | ################################################################################ | |||
|
5 | ||||
|
6 | [app:main] | |||
|
7 | use = egg:rhodecode-vcsserver | |||
|
8 | ||||
|
9 | pyramid.default_locale_name = en | |||
|
10 | pyramid.includes = | |||
|
11 | pyramid.reload_templates = true | |||
|
12 | ||||
|
13 | # default locale used by VCS systems | |||
|
14 | locale = en_US.UTF-8 | |||
|
15 | ||||
|
16 | # cache regions, please don't change | |||
|
17 | beaker.cache.regions = repo_object | |||
|
18 | beaker.cache.repo_object.type = memorylru | |||
|
19 | beaker.cache.repo_object.max_items = 100 | |||
|
20 | # cache auto-expires after N seconds | |||
|
21 | beaker.cache.repo_object.expire = 300 | |||
|
22 | beaker.cache.repo_object.enabled = true | |||
|
23 | ||||
|
24 | [server:main] | |||
|
25 | use = egg:waitress#main | |||
|
26 | host = 127.0.0.1 | |||
|
27 | port = %(http_port)s | |||
|
28 | ||||
|
29 | ################################ | |||
|
30 | ### LOGGING CONFIGURATION #### | |||
|
31 | ################################ | |||
|
32 | [loggers] | |||
|
33 | keys = root, vcsserver, pyro4, beaker | |||
|
34 | ||||
|
35 | [handlers] | |||
|
36 | keys = console | |||
|
37 | ||||
|
38 | [formatters] | |||
|
39 | keys = generic | |||
|
40 | ||||
|
41 | ############# | |||
|
42 | ## LOGGERS ## | |||
|
43 | ############# | |||
|
44 | [logger_root] | |||
|
45 | level = NOTSET | |||
|
46 | handlers = console | |||
|
47 | ||||
|
48 | [logger_vcsserver] | |||
|
49 | level = DEBUG | |||
|
50 | handlers = | |||
|
51 | qualname = vcsserver | |||
|
52 | propagate = 1 | |||
|
53 | ||||
|
54 | [logger_beaker] | |||
|
55 | level = DEBUG | |||
|
56 | handlers = | |||
|
57 | qualname = beaker | |||
|
58 | propagate = 1 | |||
|
59 | ||||
|
60 | [logger_pyro4] | |||
|
61 | level = DEBUG | |||
|
62 | handlers = | |||
|
63 | qualname = Pyro4 | |||
|
64 | propagate = 1 | |||
|
65 | ||||
|
66 | ||||
|
67 | ############## | |||
|
68 | ## HANDLERS ## | |||
|
69 | ############## | |||
|
70 | ||||
|
71 | [handler_console] | |||
|
72 | class = StreamHandler | |||
|
73 | args = (sys.stderr,) | |||
|
74 | level = INFO | |||
|
75 | formatter = generic | |||
|
76 | ||||
|
77 | ################ | |||
|
78 | ## FORMATTERS ## | |||
|
79 | ################ | |||
|
80 | ||||
|
81 | [formatter_generic] | |||
|
82 | format = %(asctime)s.%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s | |||
|
83 | datefmt = %Y-%m-%d %H:%M:%S |
@@ -0,0 +1,79 b'' | |||||
|
1 | ################################################################################ | |||
|
2 | # RhodeCode VCSServer - configuration # | |||
|
3 | # # | |||
|
4 | ################################################################################ | |||
|
5 | ||||
|
6 | [DEFAULT] | |||
|
7 | host = 127.0.0.1 | |||
|
8 | port = 9900 | |||
|
9 | locale = en_US.UTF-8 | |||
|
10 | # number of worker threads, this should be set based on a formula threadpool=N*6 | |||
|
11 | # where N is number of RhodeCode Enterprise workers, eg. running 2 instances | |||
|
12 | # 8 gunicorn workers each would be 2 * 8 * 6 = 96, threadpool_size = 96 | |||
|
13 | threadpool_size = 96 | |||
|
14 | timeout = 0 | |||
|
15 | ||||
|
16 | # cache regions, please don't change | |||
|
17 | beaker.cache.regions = repo_object | |||
|
18 | beaker.cache.repo_object.type = memorylru | |||
|
19 | beaker.cache.repo_object.max_items = 100 | |||
|
20 | # cache auto-expires after N seconds | |||
|
21 | beaker.cache.repo_object.expire = 300 | |||
|
22 | beaker.cache.repo_object.enabled = true | |||
|
23 | ||||
|
24 | ||||
|
25 | ################################ | |||
|
26 | ### LOGGING CONFIGURATION #### | |||
|
27 | ################################ | |||
|
28 | [loggers] | |||
|
29 | keys = root, vcsserver, pyro4, beaker | |||
|
30 | ||||
|
31 | [handlers] | |||
|
32 | keys = console | |||
|
33 | ||||
|
34 | [formatters] | |||
|
35 | keys = generic | |||
|
36 | ||||
|
37 | ############# | |||
|
38 | ## LOGGERS ## | |||
|
39 | ############# | |||
|
40 | [logger_root] | |||
|
41 | level = NOTSET | |||
|
42 | handlers = console | |||
|
43 | ||||
|
44 | [logger_vcsserver] | |||
|
45 | level = DEBUG | |||
|
46 | handlers = | |||
|
47 | qualname = vcsserver | |||
|
48 | propagate = 1 | |||
|
49 | ||||
|
50 | [logger_beaker] | |||
|
51 | level = DEBUG | |||
|
52 | handlers = | |||
|
53 | qualname = beaker | |||
|
54 | propagate = 1 | |||
|
55 | ||||
|
56 | [logger_pyro4] | |||
|
57 | level = DEBUG | |||
|
58 | handlers = | |||
|
59 | qualname = Pyro4 | |||
|
60 | propagate = 1 | |||
|
61 | ||||
|
62 | ||||
|
63 | ############## | |||
|
64 | ## HANDLERS ## | |||
|
65 | ############## | |||
|
66 | ||||
|
67 | [handler_console] | |||
|
68 | class = StreamHandler | |||
|
69 | args = (sys.stderr,) | |||
|
70 | level = INFO | |||
|
71 | formatter = generic | |||
|
72 | ||||
|
73 | ################ | |||
|
74 | ## FORMATTERS ## | |||
|
75 | ################ | |||
|
76 | ||||
|
77 | [formatter_generic] | |||
|
78 | format = %(asctime)s.%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s | |||
|
79 | datefmt = %Y-%m-%d %H:%M:%S |
1 | NO CONTENT: file was removed |
|
NO CONTENT: file was removed |
1 | NO CONTENT: file was removed |
|
NO CONTENT: file was removed |
General Comments 0
You need to be logged in to leave comments.
Login now