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