Remoto issues events like
Running command: /usr/bin/python3 -u
at level 'info' which are below the threshold of other 'info' messages in
cephadm. So, silence info and below. We still want to see warning and
above.
Signed-off-by: Sage Weil <sage@redhat.com>
n = self.ssh_user + '@' + host
self.log.debug("Opening connection to {} with ssh options '{}'".format(
n, self._ssh_options))
+ child_logger=self.log.getChild(n)
+ child_logger.setLevel('WARNING')
conn = remoto.Connection(
n,
- logger=self.log.getChild(n),
+ logger=child_logger,
ssh_options=self._ssh_options)
r = conn.import_module(remotes)