summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2023-02-23 11:23:37 +0000
committerGerrit Code Review <review@openstack.org>2023-02-23 11:23:37 +0000
commit39ca54712ad75d0fc41b8590b0706bdf1c1aebdd (patch)
tree64aab86eeb07ce615349e76f8251a8a40f4e2cec
parent222a62e76c62dd39b40a4cc65b2268e11df31dc7 (diff)
parente32d1ac7a29fa9dd7e84541fbd9f8a0510fc9c16 (diff)
downloadironic-39ca54712ad75d0fc41b8590b0706bdf1c1aebdd.tar.gz
Merge "Set lockutils default logging"
-rw-r--r--ironic/conf/opts.py3
-rw-r--r--releasenotes/notes/lockutils-default-logging-8c38b8c0ac71043f.yaml8
2 files changed, 11 insertions, 0 deletions
diff --git a/ironic/conf/opts.py b/ironic/conf/opts.py
index fd2e51534..846949893 100644
--- a/ironic/conf/opts.py
+++ b/ironic/conf/opts.py
@@ -89,5 +89,8 @@ def update_opt_defaults():
'openstack=WARNING',
# Policy logging is not necessarily useless, but very verbose
'oslo_policy=WARNING',
+ # Concurrency lock logging is not bad, but exceptionally noisy
+ # and typically not needed in debugging Ironic itself.
+ 'oslo_concurrency.lockutils=WARNING',
]
)
diff --git a/releasenotes/notes/lockutils-default-logging-8c38b8c0ac71043f.yaml b/releasenotes/notes/lockutils-default-logging-8c38b8c0ac71043f.yaml
new file mode 100644
index 000000000..6ef3fd546
--- /dev/null
+++ b/releasenotes/notes/lockutils-default-logging-8c38b8c0ac71043f.yaml
@@ -0,0 +1,8 @@
+---
+other:
+ - |
+ The default logging level for the ``oslo_concurrencty.lockutils``
+ module logging has been changed to ``WARNING``. By default, the debug
+ logging was resulting in lots of noise. Operators wishing to view debug
+ logging for this module can tuilize the ``[DEFAULT]default_log_levels``
+ configuration option.