diff options
| author | Michael Merickel <michael@merickel.org> | 2014-09-29 13:05:22 -0500 |
|---|---|---|
| committer | Michael Merickel <michael@merickel.org> | 2014-09-29 13:05:22 -0500 |
| commit | 159105a203dc62ef6306fb3537caab42bca0df8e (patch) | |
| tree | aaf0311c318edbb9c240fac6a0a04b0a39cbe18a /docs | |
| parent | 534ce342d61571a93b3f89b72f3ff8323d0f0f0b (diff) | |
| parent | 4a63f6ac8f19d21eebf23bd8c9f833f2b676287b (diff) | |
| download | pyramid-159105a203dc62ef6306fb3537caab42bca0df8e.tar.gz pyramid-159105a203dc62ef6306fb3537caab42bca0df8e.tar.bz2 pyramid-159105a203dc62ef6306fb3537caab42bca0df8e.zip | |
Merge pull request #1396 from kpinc/doc_config
Doc config
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/narr/configuration.rst | 4 | ||||
| -rw-r--r-- | docs/narr/logging.rst | 14 | ||||
| -rw-r--r-- | docs/narr/startup.rst | 8 |
3 files changed, 26 insertions, 0 deletions
diff --git a/docs/narr/configuration.rst b/docs/narr/configuration.rst index 52615533d..f7fa94daf 100644 --- a/docs/narr/configuration.rst +++ b/docs/narr/configuration.rst @@ -17,6 +17,10 @@ plugging application code that you've written into :app:`Pyramid` is also referred to within this documentation as "configuration"; you are configuring :app:`Pyramid` to call the code that makes up your application. +.. seealso:: + For information on ``.ini`` files for Pyramid applications see the + :ref:`startup_chapter` chapter. + There are two ways to configure a :app:`Pyramid` application: :term:`imperative configuration` and :term:`declarative configuration`. Both are described below. diff --git a/docs/narr/logging.rst b/docs/narr/logging.rst index 333d6a4e6..c16673ae6 100644 --- a/docs/narr/logging.rst +++ b/docs/narr/logging.rst @@ -16,6 +16,11 @@ how to send log messages to loggers that you've configured. a third-party scaffold which does not create these files, the configuration information in this chapter may not be applicable. +.. index: + pair: settings; logging + pair: .ini; logging + pair: logging; configuration + .. _logging_config: Logging Configuration @@ -294,6 +299,15 @@ use the :term:`pyramid_exclog` package. Details about its configuration are in its `documentation <http://docs.pylonsproject.org/projects/pyramid_exclog/dev/>`_. +.. index:: + single: TransLogger + single: middleware; TransLogger + pair: configuration; middleware + single: settings; middleware + pair: .ini; middleware + +.. _request_logging_with_pastes_translogger: + Request Logging with Paste's TransLogger ---------------------------------------- diff --git a/docs/narr/startup.rst b/docs/narr/startup.rst index 7b4a7ea08..a1a23ed52 100644 --- a/docs/narr/startup.rst +++ b/docs/narr/startup.rst @@ -19,6 +19,7 @@ console. .. index:: single: startup process + pair: settings; .ini The Startup Process ------------------- @@ -139,6 +140,13 @@ Here's a high-level time-ordered overview of what happens when you press The server serves the application, and the application is running, waiting to receive requests. +.. seealso:: + Logging configuration is described in the :ref:`logging_chapter` + chapter. There, in :ref:`request_logging_with_pastes_translogger`, + you will also find an example of how to configure + :term:`middleware` to add pre-packaged functionality to your + application. + .. index:: pair: settings; deployment single: custom settings |
