##// END OF EJS Templates
synced test.ini with latest changes
marcink -
r3479:b45c8916 beta
parent child Browse files
Show More
@@ -1,355 +1,437 b''
1 ################################################################################
1 ################################################################################
2 ################################################################################
2 ################################################################################
3 # RhodeCode - Pylons environment configuration #
3 # RhodeCode - Pylons environment configuration #
4 # #
4 # #
5 # The %(here)s variable will be replaced with the parent directory of this file#
5 # The %(here)s variable will be replaced with the parent directory of this file#
6 ################################################################################
6 ################################################################################
7
7
8 [DEFAULT]
8 [DEFAULT]
9 debug = true
9 debug = true
10 pdebug = false
10 pdebug = false
11 ################################################################################
11 ################################################################################
12 ## Uncomment and replace with the address which should receive ##
12 ## Uncomment and replace with the address which should receive ##
13 ## any error reports after application crash ##
13 ## any error reports after application crash ##
14 ## Additionally those settings will be used by RhodeCode mailing system ##
14 ## Additionally those settings will be used by RhodeCode mailing system ##
15 ################################################################################
15 ################################################################################
16 #email_to = admin@localhost
16 #email_to = admin@localhost
17 #error_email_from = paste_error@localhost
17 #error_email_from = paste_error@localhost
18 #app_email_from = rhodecode-noreply@localhost
18 #app_email_from = rhodecode-noreply@localhost
19 #error_message =
19 #error_message =
20 #email_prefix = [RhodeCode]
20 #email_prefix = [RhodeCode]
21
21
22 #smtp_server = mail.server.com
22 #smtp_server = mail.server.com
23 #smtp_username =
23 #smtp_username =
24 #smtp_password =
24 #smtp_password =
25 #smtp_port =
25 #smtp_port =
26 #smtp_use_tls = false
26 #smtp_use_tls = false
27 #smtp_use_ssl = true
27 #smtp_use_ssl = true
28 # Specify available auth parameters here (e.g. LOGIN PLAIN CRAM-MD5, etc.)
28 # Specify available auth parameters here (e.g. LOGIN PLAIN CRAM-MD5, etc.)
29 #smtp_auth =
29 #smtp_auth =
30
30
31 [server:main]
31 [server:main]
32 ## PASTE
32 ## PASTE
33 ##nr of threads to spawn
33 ##nr of threads to spawn
34 threadpool_workers = 5
34 #threadpool_workers = 5
35
35
36 ##max request before thread respawn
36 ##max request before thread respawn
37 threadpool_max_requests = 10
37 #threadpool_max_requests = 10
38
38
39 ##option to use threads of process
39 ##option to use threads of process
40 use_threadpool = true
40 #use_threadpool = true
41
41
42 use = egg:Paste#http
42 #use = egg:Paste#http
43
43
44 #WAITRESS
44 #WAITRESS
45 threads = 5
45 threads = 5
46 #100GB
47 max_request_body_size = 107374182400
46 use = egg:waitress#main
48 use = egg:waitress#main
47
49
48 host = 127.0.0.1
50 host = 127.0.0.1
49 port = 8001
51 port = 5000
50
52
51 [filter:proxy-prefix]
53 [filter:proxy-prefix]
52 # prefix middleware for rc
54 # prefix middleware for rc
53 use = egg:PasteDeploy#prefix
55 use = egg:PasteDeploy#prefix
54 prefix = /<your-prefix>
56 prefix = /<your-prefix>
55
57
56 [app:main]
58 [app:main]
57 use = egg:rhodecode
59 use = egg:rhodecode
58 #filter-with = proxy-prefix
60 #filter-with = proxy-prefix
59 full_stack = true
61 full_stack = true
60 static_files = true
62 static_files = true
61 # Optional Languages
63 # Optional Languages
62 # en, fr, ja, pt_BR, zh_CN, zh_TW, pl
64 # en, fr, ja, pt_BR, zh_CN, zh_TW, pl
63 lang = en
65 lang = en
64 cache_dir = /tmp/rc/data
66 cache_dir = /tmp/rc/data
65 index_dir = /tmp/rc/index
67 index_dir = /tmp/rc/index
66 app_instance_uuid = develop-test
68 app_instance_uuid = develop-test
67 cut_off_limit = 256000
69 cut_off_limit = 256000
68 vcs_full_cache = False
70 vcs_full_cache = False
69 # force https in RhodeCode, fixes https redirects, assumes it's always https
71 # force https in RhodeCode, fixes https redirects, assumes it's always https
70 force_https = false
72 force_https = false
71 # use Strict-Transport-Security headers
73 # use Strict-Transport-Security headers
72 use_htsts = false
74 use_htsts = false
73 commit_parse_limit = 25
75 commit_parse_limit = 25
74 # number of items displayed in lightweight dashboard before paginating
76 # number of items displayed in lightweight dashboard before paginating
75 dashboard_items = 100
77 dashboard_items = 100
76 use_gravatar = true
78 use_gravatar = true
77
79
78 # path to git executable
80 # path to git executable
79 git_path = git
81 git_path = git
80
82
81 ## RSS feed options
83 ## RSS feed options
82
84
83 rss_cut_off_limit = 256000
85 rss_cut_off_limit = 256000
84 rss_items_per_page = 10
86 rss_items_per_page = 10
85 rss_include_diff = false
87 rss_include_diff = false
86
88
87
89
88 ## alternative_gravatar_url allows you to use your own avatar server application
90 ## alternative_gravatar_url allows you to use your own avatar server application
89 ## the following parts of the URL will be replaced
91 ## the following parts of the URL will be replaced
90 ## {email} user email
92 ## {email} user email
91 ## {md5email} md5 hash of the user email (like at gravatar.com)
93 ## {md5email} md5 hash of the user email (like at gravatar.com)
92 ## {size} size of the image that is expected from the server application
94 ## {size} size of the image that is expected from the server application
93 ## {scheme} http/https from RhodeCode server
95 ## {scheme} http/https from RhodeCode server
94 ## {netloc} network location from RhodeCode server
96 ## {netloc} network location from RhodeCode server
95 #alternative_gravatar_url = http://myavatarserver.com/getbyemail/{email}/{size}
97 #alternative_gravatar_url = http://myavatarserver.com/getbyemail/{email}/{size}
96 #alternative_gravatar_url = http://myavatarserver.com/getbymd5/{md5email}?s={size}
98 #alternative_gravatar_url = http://myavatarserver.com/getbymd5/{md5email}?s={size}
97
99
98 container_auth_enabled = false
100 container_auth_enabled = false
99 proxypass_auth_enabled = false
101 proxypass_auth_enabled = false
100 ## default encoding used to convert from and to unicode
102 ## default encoding used to convert from and to unicode
101 ## can be also a comma seperated list of encoding in case of mixed encodings
103 ## can be also a comma seperated list of encoding in case of mixed encodings
102 default_encoding = utf8
104 default_encoding = utf8
103
105
104 ## overwrite schema of clone url
106 ## overwrite schema of clone url
105 ## available vars:
107 ## available vars:
106 ## scheme - http/https
108 ## scheme - http/https
107 ## user - current user
109 ## user - current user
108 ## pass - password
110 ## pass - password
109 ## netloc - network location
111 ## netloc - network location
110 ## path - usually repo_name
112 ## path - usually repo_name
111
113
112 #clone_uri = {scheme}://{user}{pass}{netloc}{path}
114 #clone_uri = {scheme}://{user}{pass}{netloc}{path}
113
115
114 ## issue tracking mapping for commits messages
116 ## issue tracking mapping for commits messages
115 ## comment out issue_pat, issue_server, issue_prefix to enable
117 ## comment out issue_pat, issue_server, issue_prefix to enable
116
118
117 ## pattern to get the issues from commit messages
119 ## pattern to get the issues from commit messages
118 ## default one used here is #<numbers> with a regex passive group for `#`
120 ## default one used here is #<numbers> with a regex passive group for `#`
119 ## {id} will be all groups matched from this pattern
121 ## {id} will be all groups matched from this pattern
120
122
121 issue_pat = (?:\s*#)(\d+)
123 issue_pat = (?:\s*#)(\d+)
122
124
123 ## server url to the issue, each {id} will be replaced with match
125 ## server url to the issue, each {id} will be replaced with match
124 ## fetched from the regex and {repo} is replaced with full repository name
126 ## fetched from the regex and {repo} is replaced with full repository name
125 ## including groups {repo_name} is replaced with just name of repo
127 ## including groups {repo_name} is replaced with just name of repo
126
128
127 issue_server_link = https://myissueserver.com/{repo}/issue/{id}
129 issue_server_link = https://myissueserver.com/{repo}/issue/{id}
128
130
129 ## prefix to add to link to indicate it's an url
131 ## prefix to add to link to indicate it's an url
130 ## #314 will be replaced by <issue_prefix><id>
132 ## #314 will be replaced by <issue_prefix><id>
131
133
132 issue_prefix = #
134 issue_prefix = #
133
135
134 ## issue_pat, issue_server_link, issue_prefix can have suffixes to specify
136 ## issue_pat, issue_server_link, issue_prefix can have suffixes to specify
135 ## multiple patterns, to other issues server, wiki or others
137 ## multiple patterns, to other issues server, wiki or others
136 ## below an example how to create a wiki pattern
138 ## below an example how to create a wiki pattern
137 # #wiki-some-id -> https://mywiki.com/some-id
139 # #wiki-some-id -> https://mywiki.com/some-id
138
140
139 #issue_pat_wiki = (?:wiki-)(.+)
141 #issue_pat_wiki = (?:wiki-)(.+)
140 #issue_server_link_wiki = https://mywiki.com/{id}
142 #issue_server_link_wiki = https://mywiki.com/{id}
141 #issue_prefix_wiki = WIKI-
143 #issue_prefix_wiki = WIKI-
142
144
143
145
144 ## instance-id prefix
146 ## instance-id prefix
145 ## a prefix key for this instance used for cache invalidation when running
147 ## a prefix key for this instance used for cache invalidation when running
146 ## multiple instances of rhodecode, make sure it's globally unique for
148 ## multiple instances of rhodecode, make sure it's globally unique for
147 ## all running rhodecode instances. Leave empty if you don't use it
149 ## all running rhodecode instances. Leave empty if you don't use it
148 instance_id =
150 instance_id =
149
151
150 ## alternative return HTTP header for failed authentication. Default HTTP
152 ## alternative return HTTP header for failed authentication. Default HTTP
151 ## response is 401 HTTPUnauthorized. Currently HG clients have troubles with
153 ## response is 401 HTTPUnauthorized. Currently HG clients have troubles with
152 ## handling that. Set this variable to 403 to return HTTPForbidden
154 ## handling that. Set this variable to 403 to return HTTPForbidden
153 auth_ret_code =
155 auth_ret_code =
154
156
155 ####################################
157 ####################################
156 ### CELERY CONFIG ####
158 ### CELERY CONFIG ####
157 ####################################
159 ####################################
158 use_celery = false
160 use_celery = false
159 broker.host = localhost
161 broker.host = localhost
160 broker.vhost = rabbitmqhost
162 broker.vhost = rabbitmqhost
161 broker.port = 5672
163 broker.port = 5672
162 broker.user = rabbitmq
164 broker.user = rabbitmq
163 broker.password = qweqwe
165 broker.password = qweqwe
164
166
165 celery.imports = rhodecode.lib.celerylib.tasks
167 celery.imports = rhodecode.lib.celerylib.tasks
166
168
167 celery.result.backend = amqp
169 celery.result.backend = amqp
168 celery.result.dburi = amqp://
170 celery.result.dburi = amqp://
169 celery.result.serialier = json
171 celery.result.serialier = json
170
172
171 #celery.send.task.error.emails = true
173 #celery.send.task.error.emails = true
172 #celery.amqp.task.result.expires = 18000
174 #celery.amqp.task.result.expires = 18000
173
175
174 celeryd.concurrency = 2
176 celeryd.concurrency = 2
175 #celeryd.log.file = celeryd.log
177 #celeryd.log.file = celeryd.log
176 celeryd.log.level = debug
178 celeryd.log.level = debug
177 celeryd.max.tasks.per.child = 1
179 celeryd.max.tasks.per.child = 1
178
180
179 #tasks will never be sent to the queue, but executed locally instead.
181 #tasks will never be sent to the queue, but executed locally instead.
180 celery.always.eager = false
182 celery.always.eager = false
181
183
182 ####################################
184 ####################################
183 ### BEAKER CACHE ####
185 ### BEAKER CACHE ####
184 ####################################
186 ####################################
185 beaker.cache.data_dir=/tmp/rc/data/cache/data
187 beaker.cache.data_dir=/tmp/rc/data/cache/data
186 beaker.cache.lock_dir=/tmp/rc/data/cache/lock
188 beaker.cache.lock_dir=/tmp/rc/data/cache/lock
187
189
188 beaker.cache.regions=super_short_term,short_term,long_term,sql_cache_short,sql_cache_med,sql_cache_long
190 beaker.cache.regions=super_short_term,short_term,long_term,sql_cache_short,sql_cache_med,sql_cache_long
189
191
190 beaker.cache.super_short_term.type=memory
192 beaker.cache.super_short_term.type=memory
191 beaker.cache.super_short_term.expire=1
193 beaker.cache.super_short_term.expire=1
192 beaker.cache.super_short_term.key_length = 256
194 beaker.cache.super_short_term.key_length = 256
193
195
194 beaker.cache.short_term.type=memory
196 beaker.cache.short_term.type=memory
195 beaker.cache.short_term.expire=60
197 beaker.cache.short_term.expire=60
196 beaker.cache.short_term.key_length = 256
198 beaker.cache.short_term.key_length = 256
197
199
198 beaker.cache.long_term.type=memory
200 beaker.cache.long_term.type=memory
199 beaker.cache.long_term.expire=36000
201 beaker.cache.long_term.expire=36000
200 beaker.cache.long_term.key_length = 256
202 beaker.cache.long_term.key_length = 256
201
203
202 beaker.cache.sql_cache_short.type=memory
204 beaker.cache.sql_cache_short.type=memory
203 beaker.cache.sql_cache_short.expire=1
205 beaker.cache.sql_cache_short.expire=1
204 beaker.cache.sql_cache_short.key_length = 256
206 beaker.cache.sql_cache_short.key_length = 256
205
207
206 beaker.cache.sql_cache_med.type=memory
208 beaker.cache.sql_cache_med.type=memory
207 beaker.cache.sql_cache_med.expire=360
209 beaker.cache.sql_cache_med.expire=360
208 beaker.cache.sql_cache_med.key_length = 256
210 beaker.cache.sql_cache_med.key_length = 256
209
211
210 beaker.cache.sql_cache_long.type=file
212 beaker.cache.sql_cache_long.type=file
211 beaker.cache.sql_cache_long.expire=3600
213 beaker.cache.sql_cache_long.expire=3600
212 beaker.cache.sql_cache_long.key_length = 256
214 beaker.cache.sql_cache_long.key_length = 256
213
215
214 ####################################
216 ####################################
215 ### BEAKER SESSION ####
217 ### BEAKER SESSION ####
216 ####################################
218 ####################################
217 ## Type of storage used for the session, current types are
219 ## Type of storage used for the session, current types are
218 ## dbm, file, memcached, database, and memory.
220 ## dbm, file, memcached, database, and memory.
219 ## The storage uses the Container API
221 ## The storage uses the Container API
220 ## that is also used by the cache system.
222 ## that is also used by the cache system.
221
223
222 ## db session ##
224 ## db session ##
223 #beaker.session.type = ext:database
225 #beaker.session.type = ext:database
224 #beaker.session.sa.url = postgresql://postgres:qwe@localhost/rhodecode
226 #beaker.session.sa.url = postgresql://postgres:qwe@localhost/rhodecode
225 #beaker.session.table_name = db_session
227 #beaker.session.table_name = db_session
226
228
227 ## encrypted cookie client side session, good for many instances ##
229 ## encrypted cookie client side session, good for many instances ##
228 #beaker.session.type = cookie
230 #beaker.session.type = cookie
229
231
230 ## file based cookies (default) ##
232 ## file based cookies (default) ##
231 #beaker.session.type = file
233 #beaker.session.type = file
232
234
233
235
234 beaker.session.key = rhodecode
236 beaker.session.key = rhodecode
235 ## secure cookie requires AES python libraries ##
237 ## secure cookie requires AES python libraries ##
236 #beaker.session.encrypt_key = g654dcno0-9873jhgfreyu
238 #beaker.session.encrypt_key = g654dcno0-9873jhgfreyu
237 #beaker.session.validate_key = 9712sds2212c--zxc123
239 #beaker.session.validate_key = 9712sds2212c--zxc123
238 ## sets session as invalid if it haven't been accessed for given amount of time
240 ## sets session as invalid if it haven't been accessed for given amount of time
239 beaker.session.timeout = 3600
241 beaker.session.timeout = 3600
240 beaker.session.httponly = true
242 beaker.session.httponly = true
241 #beaker.session.cookie_path = /<your-prefix>
243 #beaker.session.cookie_path = /<your-prefix>
242
244
243 ## uncomment for https secure cookie ##
245 ## uncomment for https secure cookie ##
244 beaker.session.secure = false
246 beaker.session.secure = false
245
247
246 ## auto save the session to not to use .save() ##
248 ## auto save the session to not to use .save() ##
247 beaker.session.auto = False
249 beaker.session.auto = False
248
250
249 ## default cookie expiration time in seconds `true` expire at browser close ##
251 ## default cookie expiration time in seconds `true` expire at browser close ##
250 #beaker.session.cookie_expires = 3600
252 #beaker.session.cookie_expires = 3600
251
253
252
254
255 ############################
256 ## ERROR HANDLING SYSTEMS ##
257 ############################
258
259 ####################
260 ### [errormator] ###
261 ####################
262
263 # Errormator is tailored to work with RhodeCode, see
264 # http://errormator.com for details how to obtain an account
265 # you must install python package `errormator_client` to make it work
266
267 # errormator enabled
268 errormator = true
269
270 errormator.server_url = https://api.errormator.com
271 errormator.api_key = YOUR_API_KEY
272
273 # TWEAK AMOUNT OF INFO SENT HERE
274
275 # enables 404 error logging (default False)
276 errormator.report_404 = false
277
278 # time in seconds after request is considered being slow (default 1)
279 errormator.slow_request_time = 1
280
281 # record slow requests in application
282 # (needs to be enabled for slow datastore recording and time tracking)
283 errormator.slow_requests = true
284
285 # enable hooking to application loggers
286 # errormator.logging = true
287
288 # minimum log level for log capture
289 # errormator.logging.level = WARNING
290
291 # send logs only from erroneous/slow requests
292 # (saves API quota for intensive logging)
293 errormator.logging_on_error = false
294
295 # list of additonal keywords that should be grabbed from environ object
296 # can be string with comma separated list of words in lowercase
297 # (by default client will always send following info:
298 # 'REMOTE_USER', 'REMOTE_ADDR', 'SERVER_NAME', 'CONTENT_TYPE' + all keys that
299 # start with HTTP* this list be extended with additional keywords here
300 errormator.environ_keys_whitelist =
301
302
303 # list of keywords that should be blanked from request object
304 # can be string with comma separated list of words in lowercase
305 # (by default client will always blank keys that contain following words
306 # 'password', 'passwd', 'pwd', 'auth_tkt', 'secret', 'csrf'
307 # this list be extended with additional keywords set here
308 errormator.request_keys_blacklist =
309
310
311 # list of namespaces that should be ignores when gathering log entries
312 # can be string with comma separated list of namespaces
313 # (by default the client ignores own entries: errormator_client.client)
314 errormator.log_namespace_blacklist =
315
316
317 ################
318 ### [sentry] ###
319 ################
320
321 # sentry is a alternative open source error aggregator
322 # you must install python packages `sentry` and `raven` to enable
323
324 sentry.dsn = YOUR_DNS
325 sentry.servers =
326 sentry.name =
327 sentry.key =
328 sentry.public_key =
329 sentry.secret_key =
330 sentry.project =
331 sentry.site =
332 sentry.include_paths =
333 sentry.exclude_paths =
334
335
253 ################################################################################
336 ################################################################################
254 ## WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT* ##
337 ## WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT* ##
255 ## Debug mode will enable the interactive debugging tool, allowing ANYONE to ##
338 ## Debug mode will enable the interactive debugging tool, allowing ANYONE to ##
256 ## execute malicious code after an exception is raised. ##
339 ## execute malicious code after an exception is raised. ##
257 ################################################################################
340 ################################################################################
258 set debug = false
341 set debug = false
259
342
260 ##################################
343 ##################################
261 ### LOGVIEW CONFIG ###
344 ### LOGVIEW CONFIG ###
262 ##################################
345 ##################################
263 logview.sqlalchemy = #faa
346 logview.sqlalchemy = #faa
264 logview.pylons.templating = #bfb
347 logview.pylons.templating = #bfb
265 logview.pylons.util = #eee
348 logview.pylons.util = #eee
266
349
267 #########################################################
350 #########################################################
268 ### DB CONFIGS - EACH DB WILL HAVE IT'S OWN CONFIG ###
351 ### DB CONFIGS - EACH DB WILL HAVE IT'S OWN CONFIG ###
269 #########################################################
352 #########################################################
270 sqlalchemy.db1.url = sqlite:///%(here)s/rhodecode_test.sqlite
353 sqlalchemy.db1.url = sqlite:///%(here)s/rhodecode_test.sqlite
271 #sqlalchemy.db1.url = postgresql://postgres:qwe@localhost/rhodecode_test
354 #sqlalchemy.db1.url = postgresql://postgres:qwe@localhost/rhodecode_test
272 #sqlalchemy.db1.url = mysql://root:qwe@localhost/rhodecode_test
355 #sqlalchemy.db1.url = mysql://root:qwe@localhost/rhodecode_test
273
274 sqlalchemy.db1.echo = false
356 sqlalchemy.db1.echo = false
275 sqlalchemy.db1.pool_recycle = 3600
357 sqlalchemy.db1.pool_recycle = 3600
276 sqlalchemy.db1.convert_unicode = true
358 sqlalchemy.db1.convert_unicode = true
277
359
278 ################################
360 ################################
279 ### LOGGING CONFIGURATION ####
361 ### LOGGING CONFIGURATION ####
280 ################################
362 ################################
281 [loggers]
363 [loggers]
282 keys = root, routes, rhodecode, sqlalchemy, beaker, templates, whoosh_indexer
364 keys = root, routes, rhodecode, sqlalchemy, beaker, templates, whoosh_indexer
283
365
284 [handlers]
366 [handlers]
285 keys = console
367 keys = console
286
368
287 [formatters]
369 [formatters]
288 keys = generic, color_formatter
370 keys = generic, color_formatter
289
371
290 #############
372 #############
291 ## LOGGERS ##
373 ## LOGGERS ##
292 #############
374 #############
293 [logger_root]
375 [logger_root]
294 level = DEBUG
376 level = DEBUG
295 handlers = console
377 handlers = console
296
378
297 [logger_routes]
379 [logger_routes]
298 level = DEBUG
380 level = DEBUG
299 handlers =
381 handlers =
300 qualname = routes.middleware
382 qualname = routes.middleware
301 # "level = DEBUG" logs the route matched and routing variables.
383 # "level = DEBUG" logs the route matched and routing variables.
302 propagate = 1
384 propagate = 1
303
385
304 [logger_beaker]
386 [logger_beaker]
305 level = DEBUG
387 level = DEBUG
306 handlers =
388 handlers =
307 qualname = beaker.container
389 qualname = beaker.container
308 propagate = 1
390 propagate = 1
309
391
310 [logger_templates]
392 [logger_templates]
311 level = INFO
393 level = INFO
312 handlers =
394 handlers =
313 qualname = pylons.templating
395 qualname = pylons.templating
314 propagate = 1
396 propagate = 1
315
397
316 [logger_rhodecode]
398 [logger_rhodecode]
317 level = DEBUG
399 level = DEBUG
318 handlers =
400 handlers =
319 qualname = rhodecode
401 qualname = rhodecode
320 propagate = 1
402 propagate = 1
321
403
322 [logger_sqlalchemy]
404 [logger_sqlalchemy]
323 level = ERROR
405 level = ERROR
324 handlers = console
406 handlers = console
325 qualname = sqlalchemy.engine
407 qualname = sqlalchemy.engine
326 propagate = 0
408 propagate = 0
327
409
328 [logger_whoosh_indexer]
410 [logger_whoosh_indexer]
329 level = DEBUG
411 level = DEBUG
330 handlers =
412 handlers =
331 qualname = whoosh_indexer
413 qualname = whoosh_indexer
332 propagate = 1
414 propagate = 1
333
415
334 ##############
416 ##############
335 ## HANDLERS ##
417 ## HANDLERS ##
336 ##############
418 ##############
337
419
338 [handler_console]
420 [handler_console]
339 class = StreamHandler
421 class = StreamHandler
340 args = (sys.stderr,)
422 args = (sys.stderr,)
341 level = NOTSET
423 level = NOTSET
342 formatter = generic
424 formatter = generic
343
425
344 ################
426 ################
345 ## FORMATTERS ##
427 ## FORMATTERS ##
346 ################
428 ################
347
429
348 [formatter_generic]
430 [formatter_generic]
349 format = %(asctime)s.%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
431 format = %(asctime)s.%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
350 datefmt = %Y-%m-%d %H:%M:%S
432 datefmt = %Y-%m-%d %H:%M:%S
351
433
352 [formatter_color_formatter]
434 [formatter_color_formatter]
353 class=rhodecode.lib.colored_formatter.ColorFormatter
435 class=rhodecode.lib.colored_formatter.ColorFormatter
354 format= %(asctime)s.%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
436 format= %(asctime)s.%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
355 datefmt = %Y-%m-%d %H:%M:%S
437 datefmt = %Y-%m-%d %H:%M:%S
General Comments 0
You need to be logged in to leave comments. Login now