Skip to content

Commit

Permalink
don't log the (pod) log (hail-is#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
cseed authored Aug 27, 2018
1 parent ab07f4e commit 2be8185
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions batch/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ def mark_complete(self, pod):
self.exit_code = pod.status.container_statuses[0].state.terminated.exit_code
self.log = v1.read_namespaced_pod_log(pod.metadata.name, 'default')

log.info('job {} complete, exit_code {}, log:\n{}'.format(
self.id, self.exit_code, self.log))
log.info('job {} complete, exit_code {}'.format(
self.id, self.exit_code))
self.set_state('Complete')

if self.callback:
Expand Down

0 comments on commit 2be8185

Please sign in to comment.