Home | History | Annotate | Download | only in hosts

Lines Matching refs:logging

1 import os, time, socket, shutil, glob, logging, tempfile, re
179 logging.warning("rsync not available on remote host %s -- disabled",
417 logging.debug('get_file. source: %s, dest: %s, delete_dest: %s,'
431 logging.debug('Using Rsync.')
454 logging.warning('rsync status %d, retrying', status)
460 logging.warning("trying scp, rsync failed: %s (%d)",
464 logging.debug('Trying scp.')
480 logging.debug('scp failed: %s', e)
524 logging.debug('send_file. source: %s, dest: %s, delete_dest: %s,'
543 logging.debug('Using Rsync.')
552 logging.warning("trying scp, rsync failed: %s", e)
555 logging.debug('Trying scp.')
577 logging.debug('scp failed: %s', e)
580 logging.debug('skipping scp for empty source list')
678 logging.debug('Host %s is now up', self.host_port)
682 logging.debug('Ignoring failure to reach %s: %s %s',
689 logging.debug('Host %s is still down after waiting %d seconds',
733 logging.debug('Host %s pre-shutdown boot_id is %s',
755 logging.debug('Host %s is now unreachable over ssh, is down',
763 logging.debug('Host %s now has boot_id %s and so must '
792 logging.info('Pinging host ' + self.host_port)
794 logging.info("Host (ssh) %s is alive", self.host_port)
809 logging.exception('autodir space check exception, this is probably '
827 logging.debug('Restarting master ssh connection')
857 logging.info("Clearing known hosts for host '%s', file '%s'.",
878 logging.warning('Host %s did not answer to ping, skip collecting '
889 logging.warning('Unable to collect logs from host '
900 logging.exception(
909 logging.warning('Collection of %s to local dir %s from host %s '
923 logging.exception(
942 logging.debug('Full tunnel command: %s', tunnel_cmd)
948 logging.debug('Started ssh tunnel, local = %d'
965 logging.debug('Terminated tunnel, pid %d', tunnel_proc.pid)
967 logging.debug('Tunnel pid %d terminated early, status %d',