##// END OF EJS Templates
api: use consistent way to extract users, repos, repo groups and user groups by id or name....
api: use consistent way to extract users, repos, repo groups and user groups by id or name. - makes usage of Number vs String to differenciate if we pick objec ID or it's name this will allow easy fetching of objects by either id or it's name, including numeric string name - fixes #5230

File last commit:

r1409:c1ce56be default
r1530:1efcb4ee default
Show More
vcsserver_http.ini
77 lines | 1.6 KiB | text/x-ini | IniLexer
Martin Bornhold
tests: Create new config files for vcsserver (http/pyro4)
r972 ################################################################################
# RhodeCode VCSServer with HTTP Backend - configuration #
# #
################################################################################
[app:main]
use = egg:rhodecode-vcsserver
pyramid.default_locale_name = en
pyramid.includes =
pyramid.reload_templates = true
# default locale used by VCS systems
locale = en_US.UTF-8
# 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 = 127.0.0.1
Martin Bornhold
pytest: Fix settings in test-ini files.
r976 port = 9900
Martin Bornhold
tests: Create new config files for vcsserver (http/pyro4)
r972
################################
### LOGGING CONFIGURATION ####
################################
[loggers]
core: removed pyro4 from Enterprise code. Fixes #5198
r1409 keys = root, vcsserver, beaker
Martin Bornhold
tests: Create new config files for vcsserver (http/pyro4)
r972
[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
##############
## HANDLERS ##
##############
[handler_console]
class = StreamHandler
args = (sys.stderr,)
level = INFO
formatter = generic
################
## FORMATTERS ##
################
[formatter_generic]
format = %(asctime)s.%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
datefmt = %Y-%m-%d %H:%M:%S