Lines Matching refs:logging
18 import logging
19 import logging.handlers
256 logging.debug('Removing fifo %s', path)
258 logging.debug('Creating marker %s', path)
282 logging.debug('Removing symlink %s', path)
284 logging.debug('Creating marker %s', path)
317 logging.warning('Fail to get the file count in folder %s.', dir_entry)
370 logging.info('Trying to correct file permission of %s.', dir_entry)
380 logging.error('Failed to modify permission for %s: %s',
407 logging.error('ERROR uploading test results %s to GS: %s',
477 logging.debug('Upload %s to %s ', zip_file, cts_apfe_gs_path)
479 logging.debug('%s is a CTS Test collector Autotest test run.', package)
480 logging.debug('Skipping CTS results upload to APFE gs:// bucket.')
497 logging.debug('Zip and upload %s to %s',
560 logging.debug('Exception in offload for %s', dir_entry)
561 logging.debug('Ignoring this error: %s', str(e))
631 logging.warning('Error occurred when offloading %s:', dir_entry)
632 logging.warning('Stdout:\n%s \nStderr:\n%s', stdout_file.read(),
709 logging.error('Offloading %s timed out after waiting %d '
817 """Formats a _JobDirectory for reporting / logging.
846 logging.debug('Unable to offload to %s, sleeping.', gs_uri)
872 logging.debug('Offloading to: %s', self.gs_uri)
878 logging.info(
916 logging.debug('Start of offload cycle - found %d new jobs',
929 logging.debug('End of offload cycle - cleared %d new jobs, '
1143 logging.debug('Set process to nice value: %d', NICENESS)
1147 logging.debug('Set process to ionice IDLE')
1152 logging.debug('Offloading Autotest results in %s', RESULTS_DIR)
1177 """Set up logging.
1183 log_formatter = logging.Formatter(_LOGGING_FORMAT)
1184 # Replace the default logging handler with a RotatingFileHandler. If
1187 handler = logging.handlers.RotatingFileHandler(
1190 logger = logging.getLogger()
1191 logger.setLevel(logging.DEBUG)