summaryrefslogtreecommitdiff
path: root/docs/quick_tutorial/logging.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/quick_tutorial/logging.rst')
-rw-r--r--docs/quick_tutorial/logging.rst12
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