summaryrefslogtreecommitdiff
path: root/docs/api/paster.rst
AgeCommit message (Collapse)Author
2017-03-29rewrite low-level pyramid config functions to use plasterMichael Merickel
2016-04-06Pass vars to logging.config.fileConfigMarc Abramowitz
This allows one to set up a logging configuration that is parameterized based on variables specified on the command-line. e.g.: the application .ini file could have: ```ini [logger_root] level = %(LOGGING_LOGGER_ROOT_LEVEL)s handlers = console [handler_console] class = StreamHandler args = (sys.stderr,) level = %(LOGGING_HANDLER_CONSOLE_LEVEL)s formatter = generic ``` This app could be launched with: ``` pserve development.ini LOGGING_LOGGER_ROOT_LEVEL=DEBUG LOGGING_HANDLER_CONSOLE_LEVEL=DEBUG ```
2013-03-14Added an options argument to pyramid.paste.get_appsettings, just like ↵Georges Dubus
get_app, that can be used to get the settings when interpolation is used in the config file.
2012-11-20coverageChris McDonough
2011-11-27- Added ``setup_logging`` API function to the ``pyramid.paster`` module.Chris McDonough
This function sets up Python logging according to the logging configuration in a PasteDeploy ini file.
2011-11-27add get_appsettings API to pasterChris McDonough
2011-07-14Added test coverage for p.paster.bootstrap.Michael Merickel
2011-07-14Added p.paster.bootstrap for handling simple loading of INI files.Michael Merickel
2011-07-07Added/updated documentation for the new interactive shell.Michael Merickel
2010-10-25convert API docs to PyramidChris McDonough
2009-06-19Edit.Chris McDonough
2009-05-28- Add a ``get_app`` API functions to the ``paster`` module. ThisChris McDonough
obtains a WSGI application from a config file given a config file name and a section name. See the ``repoze.bfg.paster`` API docs for more information. - Add a new module named ``scripting``. It contains a ``get_root`` API function, which, provided a Router instance, returns a traversal root object and a "closer". See the ``repoze.bfg.scripting`` API docs for more info.