Don't truncate the logged json
This achieves nothing but hiding valuable debug information. Change-Id: I55cb1ae19c33b974bcbfb294f76c310a32a305e1
This commit is contained in:
parent
71ead1949d
commit
8f101349f4
|
@ -149,7 +149,7 @@ def main(args=sys.argv[1:]):
|
||||||
with open(opts.datafile, "r") as fp:
|
with open(opts.datafile, "r") as fp:
|
||||||
te_data = fp.read()
|
te_data = fp.read()
|
||||||
|
|
||||||
logger.info('Starting test-env worker with data %r', te_data.strip()[:200])
|
logger.info('Starting test-env worker with data %r', te_data.strip())
|
||||||
# If this job dies we loose the test environment, so catch everything and
|
# If this job dies we loose the test environment, so catch everything and
|
||||||
# retry after a short sleep.
|
# retry after a short sleep.
|
||||||
while True:
|
while True:
|
||||||
|
|
|
@ -57,7 +57,7 @@ class TestCallback(object):
|
||||||
except gear.InterruptedError:
|
except gear.InterruptedError:
|
||||||
return
|
return
|
||||||
|
|
||||||
logger.info('Received job : %s', job.arguments.strip()[:200])
|
logger.info('Received job : %s', job.arguments.strip())
|
||||||
logger.info('Running command "%s"', ' '.join(self.command))
|
logger.info('Running command "%s"', ' '.join(self.command))
|
||||||
|
|
||||||
with tempfile.NamedTemporaryFile('w') as fp:
|
with tempfile.NamedTemporaryFile('w') as fp:
|
||||||
|
|
Loading…
Reference in New Issue