Don't truncate the logged json

This achieves nothing but hiding valuable debug information.

Change-Id: I55cb1ae19c33b974bcbfb294f76c310a32a305e1
This commit is contained in:
Derek Higgins 2014-02-21 12:58:57 +00:00 committed by Robert Collins
parent 71ead1949d
commit 8f101349f4
2 changed files with 2 additions and 2 deletions

View File

@ -149,7 +149,7 @@ def main(args=sys.argv[1:]):
with open(opts.datafile, "r") as fp:
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
# retry after a short sleep.
while True:

View File

@ -57,7 +57,7 @@ class TestCallback(object):
except gear.InterruptedError:
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))
with tempfile.NamedTemporaryFile('w') as fp: