diff options
| author | Paul Everitt <paul@agendaless.com> | 2013-09-16 06:20:43 -0700 |
|---|---|---|
| committer | Paul Everitt <paul@agendaless.com> | 2013-09-16 06:20:43 -0700 |
| commit | 4524d905975b481aee7f84b079a3abc5036508a6 (patch) | |
| tree | 69a4e468a29a39ec90e8f6618073bc4eba250a28 /docs/quick_tutorial/logging.rst | |
| parent | 6625ddd9d78b1307aaff6b9c212c2fbbe926c9c0 (diff) | |
| parent | d749bf4c987c4ab90bd5f89326e7d4059e4f47b3 (diff) | |
| download | pyramid-4524d905975b481aee7f84b079a3abc5036508a6.tar.gz pyramid-4524d905975b481aee7f84b079a3abc5036508a6.tar.bz2 pyramid-4524d905975b481aee7f84b079a3abc5036508a6.zip | |
Merge pull request #1123 from tshepang/docs.quicktutorial
s/env/venv + make example links clickable
Diffstat (limited to 'docs/quick_tutorial/logging.rst')
| -rw-r--r-- | docs/quick_tutorial/logging.rst | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/quick_tutorial/logging.rst b/docs/quick_tutorial/logging.rst index 92e08a926..6b3a2eda4 100644 --- a/docs/quick_tutorial/logging.rst +++ b/docs/quick_tutorial/logging.rst @@ -32,8 +32,8 @@ Steps .. code-block:: bash - (env)$ cd ..; cp -r view_classes logging; cd logging - (env)$ python setup.py develop + (venv)$ cd ..; cp -r view_classes logging; cd logging + (venv)$ python setup.py develop #. Extend ``logging/tutorial/views.py`` to log a message: @@ -44,15 +44,15 @@ Steps .. code-block:: bash - (env)$ nosetests tutorial + (venv)$ nosetests tutorial #. Run your Pyramid application with: .. code-block:: bash - (env)$ pserve development.ini --reload + (venv)$ pserve development.ini --reload -#. Open ``http://localhost:6543/`` and ``http://localhost:6543/howdy`` +#. Open http://localhost:6543/ and http://localhost:6543/howdy in your browser. Note, both in the console and in the debug toolbar, the message that you logged. @@ -67,7 +67,7 @@ logging for our Pyramid application: In this, our ``tutorial`` Python package is setup as a logger and configured to log messages at a ``DEBUG`` or higher level. When you -visit ``http://localhost:6543`` your console will now show:: +visit http://localhost:6543 your console will now show:: 2013-08-09 10:42:42,968 DEBUG [tutorial.views][MainThread] In home view |
