fix log level control in tests

This commit is contained in:
agroce 2019-06-17 10:34:40 -07:00
parent ad544c99d7
commit c4725e8a14

View File

@ -10,7 +10,7 @@ def logrun(cmd, file, timeout):
sys.stderr.flush()
with open(file, 'w') as outf:
# We need to set log_level so we see ALL messages, for testing
p = subprocess.Popen(cmd + ["--log_level", "0"], stdout=outf, stderr=outf)
p = subprocess.Popen(cmd + ["--min_log_level", "0"], stdout=outf, stderr=outf)
start = time.time()
oldContents = ""
lastOutput = time.time()