development_pyramid.ini
82 lines
| 1.6 KiB
| text/x-ini
|
IniLexer
/ configs / development_pyramid.ini
r16 | ################################################################################ | |||
# RhodeCode VCSServer - configuration # | ||||
# # | ||||
################################################################################ | ||||
r15 | [app:main] | |||
use = egg:rhodecode-vcsserver | ||||
r16 | ||||
r15 | pyramid.default_locale_name = en | |||
pyramid.includes = | ||||
r16 | ||||
locale = en_US.UTF-8 | ||||
r15 | # cache regions, please don't change | |||
beaker.cache.regions = repo_object | ||||
beaker.cache.repo_object.type = memorylru | ||||
beaker.cache.repo_object.max_items = 100 | ||||
# cache auto-expires after N seconds | ||||
beaker.cache.repo_object.expire = 300 | ||||
beaker.cache.repo_object.enabled = true | ||||
[server:main] | ||||
use = egg:waitress#main | ||||
host = 0.0.0.0 | ||||
port = %(http_port)s | ||||
################################ | ||||
### LOGGING CONFIGURATION #### | ||||
################################ | ||||
[loggers] | ||||
r16 | keys = root, vcsserver, pyro4, beaker | |||
r15 | ||||
[handlers] | ||||
keys = console | ||||
[formatters] | ||||
keys = generic | ||||
############# | ||||
## LOGGERS ## | ||||
############# | ||||
[logger_root] | ||||
level = NOTSET | ||||
handlers = console | ||||
[logger_vcsserver] | ||||
level = DEBUG | ||||
handlers = | ||||
qualname = vcsserver | ||||
propagate = 1 | ||||
[logger_beaker] | ||||
level = DEBUG | ||||
handlers = | ||||
qualname = beaker | ||||
propagate = 1 | ||||
r16 | [logger_pyro4] | |||
level = DEBUG | ||||
handlers = | ||||
qualname = Pyro4 | ||||
propagate = 1 | ||||
r15 | ||||
############## | ||||
## HANDLERS ## | ||||
############## | ||||
[handler_console] | ||||
class = StreamHandler | ||||
args = (sys.stderr,) | ||||
level = DEBUG | ||||
formatter = generic | ||||
################ | ||||
## FORMATTERS ## | ||||
################ | ||||
[formatter_generic] | ||||
format = %(asctime)s.%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s | ||||
datefmt = %Y-%m-%d %H:%M:%S | ||||