Show More
@@ -70,20 +70,6 b' args = (sys.stderr,)' | |||||
70 | level = DEBUG |
|
70 | level = DEBUG | |
71 | formatter = generic |
|
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 | ## FORMATTERS ## |
|
74 | ## FORMATTERS ## | |
89 | ################ |
|
75 | ################ |
@@ -1,8 +1,16 b'' | |||||
|
1 | ################################################################################ | |||
|
2 | # RhodeCode VCSServer - configuration # | |||
|
3 | # # | |||
|
4 | ################################################################################ | |||
|
5 | ||||
1 | [app:main] |
|
6 | [app:main] | |
2 | use = egg:rhodecode-vcsserver |
|
7 | use = egg:rhodecode-vcsserver | |
3 | pyramid.reload_templates = true |
|
8 | ||
4 | pyramid.default_locale_name = en |
|
9 | pyramid.default_locale_name = en | |
5 | pyramid.includes = |
|
10 | pyramid.includes = | |
|
11 | ||||
|
12 | locale = en_US.UTF-8 | |||
|
13 | ||||
6 | # cache regions, please don't change |
|
14 | # cache regions, please don't change | |
7 | beaker.cache.regions = repo_object |
|
15 | beaker.cache.regions = repo_object | |
8 | beaker.cache.repo_object.type = memorylru |
|
16 | beaker.cache.repo_object.type = memorylru | |
@@ -10,8 +18,6 b' beaker.cache.repo_object.max_items = 100' | |||||
10 | # cache auto-expires after N seconds |
|
18 | # cache auto-expires after N seconds | |
11 | beaker.cache.repo_object.expire = 300 |
|
19 | beaker.cache.repo_object.expire = 300 | |
12 | beaker.cache.repo_object.enabled = true |
|
20 | beaker.cache.repo_object.enabled = true | |
13 | locale = en_US.UTF-8 |
|
|||
14 |
|
||||
15 |
|
21 | |||
16 | [server:main] |
|
22 | [server:main] | |
17 | use = egg:waitress#main |
|
23 | use = egg:waitress#main | |
@@ -23,7 +29,7 b' port = %(http_port)s' | |||||
23 | ### LOGGING CONFIGURATION #### |
|
29 | ### LOGGING CONFIGURATION #### | |
24 | ################################ |
|
30 | ################################ | |
25 | [loggers] |
|
31 | [loggers] | |
26 | keys = root, vcsserver, beaker |
|
32 | keys = root, vcsserver, pyro4, beaker | |
27 |
|
33 | |||
28 | [handlers] |
|
34 | [handlers] | |
29 | keys = console |
|
35 | keys = console | |
@@ -50,6 +56,12 b' handlers =' | |||||
50 | qualname = beaker |
|
56 | qualname = beaker | |
51 | propagate = 1 |
|
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 | ## HANDLERS ## |
|
67 | ## HANDLERS ## |
@@ -70,20 +70,6 b' args = (sys.stderr,)' | |||||
70 | level = DEBUG |
|
70 | level = DEBUG | |
71 | formatter = generic |
|
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 | ## FORMATTERS ## |
|
74 | ## FORMATTERS ## | |
89 | ################ |
|
75 | ################ |
General Comments 0
You need to be logged in to leave comments.
Login now