summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Finucane <sfinucan@redhat.com>2017-07-05 11:32:07 +0100
committerStephen Finucane <sfinucan@redhat.com>2017-07-05 11:58:22 +0100
commit53de7315d9d774b1edda65e326a64d13554cd9ac (patch)
tree6bea076c62bd0f68415b1bbab951a41dff16591e
parent7b27ee3e424f5fb2701c1e15ffd38a87ea70023d (diff)
downloadoslo-config-53de7315d9d774b1edda65e326a64d13554cd9ac.tar.gz
sphinxext: Use lower logging level
The plugin is *very* noisy for a project with as many configuration options as nova. Most of the output is debug info at best, so mark it up accordingly. Change-Id: Ic806317852475258a2dc2c563af098788d4e9ccc Related-Bug: #1702453
-rw-r--r--oslo_config/sphinxext.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/oslo_config/sphinxext.py b/oslo_config/sphinxext.py
index 67ab509..133028a 100644
--- a/oslo_config/sphinxext.py
+++ b/oslo_config/sphinxext.py
@@ -93,7 +93,7 @@ def _get_choice_text(choice):
def _format_group(app, namespace, group_name, group_obj, opt_list):
group_name = group_name or 'DEFAULT'
- app.info('[oslo.config] %s %s' % (namespace, group_name))
+ app.debug('[oslo.config] %s %s' % (namespace, group_name))
yield '.. oslo.config:group:: %s' % group_name
if namespace:
@@ -339,7 +339,7 @@ class ConfigGroup(rst.Directive):
# Store the current group for use later in option directives
env.temp_data['oslo.config:group'] = group_name
- app.info('oslo.config group %s' % group_name)
+ app.debug('oslo.config group %s' % group_name)
# Store the location where this group is being defined
# for use when resolving cross-references later.
@@ -384,7 +384,7 @@ class ConfigOption(ObjectDescription):
def handle_signature(self, sig, signode):
"""Transform an option description into RST nodes."""
optname = sig
- self.env.app.info('oslo.config option %s' % optname)
+ self.env.app.debug('oslo.config option %s' % optname)
# Insert a node into the output showing the option name
signode += addnodes.desc_name(optname, optname)
signode['allnames'] = [optname]