Reduce gearman logging in tests
Gearman produces a lot of logging in the tests which makes them large and often hard to read. Since gear doesn't change often the logging it produces could be reduced. Since there are many test cases that produce a lot of logging this also reduces the risk of hitting the log length limit of stestr when a test fails. Change-Id: I095025a3072821f051c4b8a3fb8eb981c36992bb Depends-On: https://review.opendev.org/707783
This commit is contained in:
parent
d48be299ab
commit
d170f43a41
|
@ -3126,7 +3126,7 @@ class BaseTestCase(testtools.TestCase):
|
|||
# from libraries that zuul depends on such as gear.
|
||||
log_defaults_from_env = os.environ.get(
|
||||
'OS_LOG_DEFAULTS',
|
||||
'git.cmd=INFO,kazoo.client=WARNING,gear=INFO')
|
||||
'git.cmd=INFO,kazoo.client=WARNING,gear=WARNING')
|
||||
|
||||
if log_defaults_from_env:
|
||||
for default in log_defaults_from_env.split(','):
|
||||
|
|
Loading…
Reference in New Issue