Print SIGTERM logging to debug

Sending SIGTERM to the ssh-agent is a standard part of shutting down the
executor. It stands out it logs when everything else is at debug, but a
TERM signal is more important. This is not something that needs looked
at so should just be debug.

Change-Id: I31f15cc24bb185a0f95ac9d1c30ba852fd5cbd53
changes/76/500476/2
Jamie Lennox 5 years ago
parent 9c2783b596
commit 82e752f02f
  1. 2
      zuul/executor/server.py

@ -203,7 +203,7 @@ class SshAgent(object):
except OSError:
self.log.exception(
'Problem sending SIGTERM to agent {}'.format(self.env))
self.log.info('Sent SIGTERM to SSH Agent, {}'.format(self.env))
self.log.debug('Sent SIGTERM to SSH Agent, {}'.format(self.env))
self.env = {}
def add(self, key_path):

Loading…
Cancel
Save