diff options
| author | Steve Piercy <web@stevepiercy.com> | 2013-10-08 16:37:02 -0700 |
|---|---|---|
| committer | Steve Piercy <web@stevepiercy.com> | 2013-10-08 16:50:37 -0700 |
| commit | 6b2e8ee2a63f601a1708c0e74e6ea5b3551507f1 (patch) | |
| tree | e7bb9bf9249378ee3528c5644beca1923b2c39ea /docs/narr | |
| parent | 0f1d6c019e796b43ce0061d36d1c5521fbbce7ee (diff) | |
| parent | fd99b0e53835dd7463986c4d705e8de06be7dbe6 (diff) | |
| download | pyramid-6b2e8ee2a63f601a1708c0e74e6ea5b3551507f1.tar.gz pyramid-6b2e8ee2a63f601a1708c0e74e6ea5b3551507f1.tar.bz2 pyramid-6b2e8ee2a63f601a1708c0e74e6ea5b3551507f1.zip | |
grammar polish
Diffstat (limited to 'docs/narr')
| -rw-r--r-- | docs/narr/project.rst | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/narr/project.rst b/docs/narr/project.rst index 8b7c24725..d7292d187 100644 --- a/docs/narr/project.rst +++ b/docs/narr/project.rst @@ -259,6 +259,8 @@ single sample test exists. single: reload single: startup +.. _running_the_project_application: + Running The Project Application ------------------------------- @@ -600,6 +602,8 @@ server which listens on TCP port 6543. It is configured to listen on all interfaces (``0.0.0.0``). This means that any remote system which has TCP access to your system can see your Pyramid application. +.. _MyProject_ini_logging: + The sections that live between the markers ``# Begin logging configuration`` and ``# End logging configuration`` represent Python's standard library :mod:`logging` module configuration for your application. The sections @@ -885,6 +889,14 @@ returns the HTML in a :term:`response`. .. note:: Dictionaries provide values to :term:`template`\s. +.. note:: When the application is run with the scaffold's :ref:`default + development.ini <MyProject_ini>` configuration :ref:`logging is set up + <MyProject_ini_logging>` to aid debugging. If an exception is raised, + uncaught tracebacks are displayed after the startup messages on :ref:`the + console running the server <running_the_project_application>`. Also + ``print()`` statements may be inserted into the application for debugging + to send output to this console. + .. note:: ``development.ini`` has a setting that controls how templates are reloaded, ``pyramid.reload_templates``. |
