Home | History | Annotate | Download | only in hosts

Lines Matching refs:logging

1 import os, time, socket, shutil, glob, logging, tempfile, re
173 logging.warning("rsync not available on remote host %s -- disabled",
411 logging.debug('get_file. source: %s, dest: %s, delete_dest: %s,'
425 logging.debug('Using Rsync.')
448 logging.warning('rsync status %d, retrying', status)
454 logging.warning("trying scp, rsync failed: %s (%d)",
458 logging.debug('Trying scp.')
474 logging.debug('scp failed: %s', e)
518 logging.debug('send_file. source: %s, dest: %s, delete_dest: %s,'
537 logging.debug('Using Rsync.')
546 logging.warning("trying scp, rsync failed: %s", e)
549 logging.debug('Trying scp.')
571 logging.debug('scp failed: %s', e)
574 logging.debug('skipping scp for empty source list')
670 logging.debug('Host %s is now up', self.host_port)
674 logging.debug('Ignoring failure to reach %s: %s %s',
681 logging.debug('Host %s is still down after waiting %d seconds',
725 logging.debug('Host %s pre-shutdown boot_id is %s',
747 logging.debug('Host %s is now unreachable over ssh, is down',
755 logging.debug('Host %s now has boot_id %s and so must '
784 logging.info('Pinging host ' + self.host_port)
786 logging.info("Host (ssh) %s is alive", self.host_port)
801 logging.exception('autodir space check exception, this is probably '
819 logging.debug('Restarting master ssh connection')
849 logging.info("Clearing known hosts for host '%s', file '%s'.",
870 logging.warning('Host %s did not answer to ping, skip collecting '
881 logging.warning('Unable to collect logs from host '
892 logging.exception(
901 logging.warning('Collection of %s to local dir %s from host %s '
915 logging.exception(
934 logging.debug('Full tunnel command: %s', tunnel_cmd)
940 logging.debug('Started ssh tunnel, local = %d'
957 logging.debug('Terminated tunnel, pid %d', tunnel_proc.pid)
959 logging.debug('Tunnel pid %d terminated early, status %d',