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
This commit is contained in:
Jamie Lennox 2017-09-04 18:21:55 +10:00
parent 9c2783b596
commit 82e752f02f
1 changed files with 1 additions and 1 deletions

View File

@ -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):