# HG changeset patch # User Marcin Kuzminski # Date 2016-06-08 19:25:59 # Node ID 2f5deb879a93735491cd86d80a48fe582db5cb8c # Parent 86b9fb147735ee8303514a0da6d08a20ee1e1b01 ini: updated ini files. - removed deprecated file handlers (supervisord now does this) diff --git a/configs/development.ini b/configs/development.ini --- a/configs/development.ini +++ b/configs/development.ini @@ -70,20 +70,6 @@ args = (sys.stderr,) level = DEBUG formatter = generic -[handler_file] -class = FileHandler -args = ('vcsserver.log', 'a',) -level = DEBUG -formatter = generic - -[handler_file_rotating] -class = logging.handlers.TimedRotatingFileHandler -# 'D', 5 - rotate every 5days -# you can set 'h', 'midnight' -args = ('vcsserver.log', 'D', 5, 10,) -level = DEBUG -formatter = generic - ################ ## FORMATTERS ## ################ diff --git a/configs/development_pyramid.ini b/configs/development_pyramid.ini --- a/configs/development_pyramid.ini +++ b/configs/development_pyramid.ini @@ -1,8 +1,16 @@ +################################################################################ +# RhodeCode VCSServer - configuration # +# # +################################################################################ + [app:main] use = egg:rhodecode-vcsserver -pyramid.reload_templates = true + pyramid.default_locale_name = en pyramid.includes = + +locale = en_US.UTF-8 + # cache regions, please don't change beaker.cache.regions = repo_object beaker.cache.repo_object.type = memorylru @@ -10,8 +18,6 @@ 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 -locale = en_US.UTF-8 - [server:main] use = egg:waitress#main @@ -23,7 +29,7 @@ port = %(http_port)s ### LOGGING CONFIGURATION #### ################################ [loggers] -keys = root, vcsserver, beaker +keys = root, vcsserver, pyro4, beaker [handlers] keys = console @@ -50,6 +56,12 @@ handlers = qualname = beaker propagate = 1 +[logger_pyro4] +level = DEBUG +handlers = +qualname = Pyro4 +propagate = 1 + ############## ## HANDLERS ## diff --git a/configs/production.ini b/configs/production.ini --- a/configs/production.ini +++ b/configs/production.ini @@ -70,20 +70,6 @@ args = (sys.stderr,) level = DEBUG formatter = generic -[handler_file] -class = FileHandler -args = ('vcsserver.log', 'a',) -level = DEBUG -formatter = generic - -[handler_file_rotating] -class = logging.handlers.TimedRotatingFileHandler -# 'D', 5 - rotate every 5days -# you can set 'h', 'midnight' -args = ('vcsserver.log', 'D', 5, 10,) -level = DEBUG -formatter = generic - ################ ## FORMATTERS ## ################