Home | History | Annotate | Download | only in site_utils

Lines Matching refs:logging

22 import logging
23 import logging.handlers
249 logging.debug('Removing fifo %s', path)
251 logging.debug('Creating fifo marker %s', path)
275 logging.debug('Removing symlink %s', path)
277 logging.debug('Creating symlink marker %s', path)
310 logging.warning('Fail to get the file count in folder %s.', dir_entry)
363 logging.info('Trying to correct file permission of %s.', dir_entry)
373 logging.error('Failed to modify permission for %s: %s',
423 logging.error('ERROR uploading test results %s to GS: %s',
496 logging.debug('Upload %s to %s ', zip_file, cts_apfe_gs_path)
498 logging.debug('%s is a CTS Test collector Autotest test run.', package)
499 logging.debug('Skipping CTS results upload to APFE gs:// bucket.')
516 logging.debug('Zip and upload %s to %s',
579 logging.debug('Exception in offload for %s', dir_entry)
580 logging.debug('Ignoring this error: %s', str(e))
650 logging.warning('Error occurred when offloading %s:', dir_entry)
651 logging.warning('Stdout:\n%s \nStderr:\n%s', stdout_file.read(),
695 logging.debug('Attempting an offload command %s', cmd)
699 logging.debug('Offload command %s completed.', cmd)
728 logging.error('Offloading %s timed out after waiting %d '
744 logging.debug('Pruning uploaded directory %s', dir_entry)
891 logging.debug('Creating uploaded marker for directory %s', dirpath)
905 """Formats a _JobDirectory for reporting / logging.
926 logging.debug('Checking for write access with dummy file %s',
937 logging.debug('Unable to offload dummy file to %s, sleeping for %s '
940 logging.debug('Dummy file write check to gs succeeded.')
965 logging.debug('Offloading to: %s', self.gs_uri)
971 logging.info(
1009 logging.debug('Start of offload cycle - found %d new jobs',
1022 logging.debug('End of offload cycle - cleared %d jobs, '
1245 logging.debug('Set process to nice value: %d', NICENESS)
1249 logging.debug('Set process to ionice IDLE')
1254 logging.debug('Offloading Autotest results in %s', RESULTS_DIR)
1279 """Set up logging.
1285 logging.Formatter(_LOGGING_FORMAT)
1286 # Replace the default logging handler with a RotatingFileHandler. If
1289 handler = logging.handlers.RotatingFileHandler(
1292 logger = logging.getLogger()
1293 logger.setLevel(logging.DEBUG)