From 47897b0ed77aa57229d6bec39291c6a3afca4aa9 Mon Sep 17 00:00:00 2001 From: Mohammed Naser Date: Wed, 15 Aug 2018 11:24:35 -0400 Subject: [PATCH] Drop JSON logging for Cinder When using debug, JSON logging is enabled due to a bug that seems to occur when using unicode characters[1]. This patch drops this in order to make sure that we resolve this in Cinder (or test that it's already resolved). [1]: https://bugs.launchpad.net/cinder/+bug/1703493 Change-Id: Ia5eea6b908459366d93d9ceac5d16908e99e051a --- templates/cinder.conf.j2 | 4 ---- 1 file changed, 4 deletions(-) diff --git a/templates/cinder.conf.j2 b/templates/cinder.conf.j2 index a8f3b4b7..a935ebf8 100644 --- a/templates/cinder.conf.j2 +++ b/templates/cinder.conf.j2 @@ -5,10 +5,6 @@ use_journal = True # Disable stderr logging use_stderr = False debug = {{ debug }} -# JSON logging is set to true when debug is enabled. This is done to resolve an issue with unicode -# logging that can result in a stacktrace with "python2.7". The following bug covers the issues -# we're seeing in the logs [ https://bugs.launchpad.net/cinder/+bug/1703493 ]. -use_json = {{ debug }} fatal_deprecations = {{ cinder_fatal_deprecations }} my_ip = {{ cinder_management_address }}