diff options
| author | Chris McDonough <chrism@plope.com> | 2011-10-06 05:40:58 -0400 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2011-10-06 05:40:58 -0400 |
| commit | 87dbfa4cd26171414d971d4f56f2aceaceb9a6eb (patch) | |
| tree | 38876d7fe78e1b32763fa185f0dc9546e113671a /docs/narr/logging.rst | |
| parent | 206a7f6eb776ff91043ce9cf4627dad20f68b937 (diff) | |
| parent | 75f05a60f8754c9c5c234b9731dbc08646ba89a9 (diff) | |
| download | pyramid-87dbfa4cd26171414d971d4f56f2aceaceb9a6eb.tar.gz pyramid-87dbfa4cd26171414d971d4f56f2aceaceb9a6eb.tar.bz2 pyramid-87dbfa4cd26171414d971d4f56f2aceaceb9a6eb.zip | |
Merge branch 'feature.glue'
Diffstat (limited to 'docs/narr/logging.rst')
| -rw-r--r-- | docs/narr/logging.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/narr/logging.rst b/docs/narr/logging.rst index 3e39151a3..b18fefae0 100644 --- a/docs/narr/logging.rst +++ b/docs/narr/logging.rst @@ -32,13 +32,13 @@ format used as the Python `logging module's Configuration file format <http://docs.python.org/lib/logging-config-fileformat.html>`_. The application-related and logging-related sections in the configuration file can coexist peacefully, and the logging-related sections in the file are used -from when you run ``paster serve``. +from when you run ``pserve``. -The ``paster serve`` command calls the `logging.fileConfig function +The ``pserve`` command calls the `logging.fileConfig function <http://docs.python.org/lib/logging-config-api.html>`_ using the specified ini file if it contains a ``[loggers]`` section (all of the scaffold-generated ``.ini`` files do). ``logging.fileConfig`` reads the -logging configuration from the ini file upon which ``paster serve`` was +logging configuration from the ini file upon which ``pserve`` was invoked. Default logging configuration is provided in both the default @@ -89,7 +89,7 @@ project. For instance, if you do: .. code-block:: text :linenos: - paster create -t pyramid_starter MyApp + pcreate -s starter MyApp The logging configuration will literally be: |
