summaryrefslogtreecommitdiff
path: root/HACKING.rst
diff options
context:
space:
mode:
authorAdam Spiers <aspiers@suse.com>2019-02-13 19:59:02 +0000
committerAdam Spiers <aspiers@suse.com>2019-02-13 20:46:01 +0000
commit889aadf1c4c652a24fb2b57bb3f8e9f3259a4d66 (patch)
tree36e74960ccf539801f9b37f3e0efe69009406b5c /HACKING.rst
parentfda08e8224d6d7c62bdda4529757f1b8ce955c8a (diff)
downloadnova-889aadf1c4c652a24fb2b57bb3f8e9f3259a4d66.tar.gz
Document how to make tests log at DEBUG level
OS_DEBUG is a handy trick, so let's make it slightly more discoverable. Change-Id: I02e4fbffc3c2c4f5b2737a44581ba7168f3a0d0f
Diffstat (limited to 'HACKING.rst')
-rw-r--r--HACKING.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/HACKING.rst b/HACKING.rst
index 33bd80aae7..480b79d1bb 100644
--- a/HACKING.rst
+++ b/HACKING.rst
@@ -114,6 +114,10 @@ command directly. Running ``stestr run`` will run the entire test suite.
tests in parallel). More information about stestr can be found at:
http://stestr.readthedocs.io/
+By default tests log at ``INFO`` level. It is possible to make them
+log at ``DEBUG`` level by exporting the ``OS_DEBUG`` environment
+variable to ``True``.
+
.. _Development Quickstart: https://docs.openstack.org/nova/latest/contributor/development-environment.html
Building Docs