Show More
@@ -70,20 +70,6 b' 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 | ################ |
@@ -1,8 +1,16 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 |
@@ -10,8 +18,6 b' 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 |
@@ -23,7 +29,7 b' port = %(http_port)s' | |||
|
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 |
@@ -50,6 +56,12 b' 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 ## |
@@ -70,20 +70,6 b' 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 | ################ |
General Comments 0
You need to be logged in to leave comments.
Login now