Lines Matching refs:logging
5 import logging
48 logging.info('Suspending DUT (in background)...')
54 logging.info('Waking DUT from server.')
75 logging.info('Setting up dark resume preferences')
80 logging.debug('Creating temporary powerd prefs at %s', TMP_POWER_DIR)
83 logging.debug('Enabling dark resume')
86 logging.debug('Enabling USB ports in dark resume')
98 logging.info('setting dark_resume_suspend_durations=%d', duration)
105 logging.debug('Restarting powerd with new settings')
108 logging.debug('Starting XMLRPC session to watch for dark resumes')
115 logging.info('Tearing down dark resume preferences')
117 logging.debug('Cleaning up temporary powerd bind mounts')
120 logging.debug('Restarting powerd to revert to old settings')
190 logging.debug('Wake attempt #%d failed', i+1)
193 logging.warning('DUT did not wake -- trouble ahead')