Home | History | Annotate | Download | only in server

Lines Matching refs:logging

10 import logging
224 logging.warning('could not parse sheriff from url %s%s: %s',
227 logging.warning('unexpected error reading from url "%s%s": %s',
232 logging.warning('Could not retrieve sheriff ldaps for: %s',
265 logging.debug('Error occurred when grabbing the lab status: %s.',
338 logging.warning('Could not get a status from %s', status_url)
370 logging.info('Locked device %s with labels %s.',
374 logging.info('Unable to lock device %s with labels %s.',
425 logging.error(str(e))
445 """Setup basic logging with all logging info stripped.
447 Calls to logging will only show the message. No severity is logged.
457 logging.getLogger().handlers = []
464 screen_handler = logging.StreamHandler()
465 screen_handler.setFormatter(logging.Formatter(log_format))
466 logging.getLogger().addHandler(screen_handler)
467 logging.getLogger().setLevel(logging.INFO)
469 file_handler = logging.FileHandler(logfile)
470 file_handler.setFormatter(logging.Formatter(log_format))
471 file_handler.setLevel(logging.DEBUG)
472 logging.getLogger().addHandler(file_handler)
510 logging.debug("%s is not a valid group.", group)
618 logging.warn('Unable to import chromite. Can not detect chroot. '
794 logging.warn('Unable to import chromite. Monarch is disabled.')
802 logging.warning('Caught an exception trying to setup ts_mon, '
849 logging.info('still waiting for following duts to go idle: %s',
874 logging.info('%s already locked', dut)
954 def collect_result_sizes(path, log=logging.debug):
970 @param log: The logging method, default to logging.debug