From 889aadf1c4c652a24fb2b57bb3f8e9f3259a4d66 Mon Sep 17 00:00:00 2001 From: Adam Spiers Date: Wed, 13 Feb 2019 19:59:02 +0000 Subject: [PATCH] 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 --- HACKING.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/HACKING.rst b/HACKING.rst index 33bd80aae712..480b79d1bbb7 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