Home
last modified time | relevance | path

Searched refs:logging (Results 1 – 25 of 3161) sorted by relevance

12345678910>>...127

/external/autotest/client/common_lib/cros/manual/
Dcfm_helper.py9 import logging
25 logging.info('---Get the latest chrome log file')
30 logging.exception('Fail to run command %s.', cmd)
32 logging.info('---cmd: %s', cmd)
33 logging.info('---output: %s', output.lower().strip())
44 logging.info('---Get the latest reboot log')
48 logging.exception('Fail to run command %s.', cmd)
50 logging.info('---cmd: %s', cmd)
51 logging.info('---output: %s', output.lower().strip())
64 logging.info('---cmd: %s', cmd)
[all …]
Daudio_helper.py11 import logging
27 logging.info('---cmd: %s', cmd)
32 logging.exception('Fail to execute %s.', cmd)
35 logging.info('---audio card %s', soundcard)
37 logging.exception('Fail to get sound card, cli=%s.', cmd)
92 logging.exception('Fail to run cli: %s.', cmd)
108 logging.exception(errmsg)
114 logging.info('---Fail to get node for default speaker.')
118 logging.info('---Volume for default speaker are sync for '
122 logging.info('---Volume Check Fail for default speaker: '
[all …]
Dmeet_helper.py9 import logging
26 logging.info('+++Restart chrome')
34 logging.exception(errmsg)
50 logging.info('+++Start meet meeting')
56 logging.info('+++start hangout meeting')
61 logging.exception(errmsg)
63 logging.info('+++Meeting %s joined.', meet_code)
67 logging.exception(errmsg)
87 logging.exception(errmsg)
89 logging.info('+++meet ended')
[all …]
/external/python/cpython2/Lib/test/
Dtest_logging.py22 import logging
23 import logging.handlers
24 import logging.config
62 logger_dict = logging.getLogger().manager.loggerDict
63 logging._acquireLock()
65 self.saved_handlers = logging._handlers.copy()
66 self.saved_handler_list = logging._handlerList[:]
68 self.saved_level_names = logging._levelNames.copy()
70 logging._releaseLock()
75 logging.getLogger("\xab\xd7\xbb")
[all …]
/external/python/cpython3/Lib/test/
Dtest_logging.py22 import logging
23 import logging.handlers
24 import logging.config
82 logger_dict = logging.getLogger().manager.loggerDict
83 logging._acquireLock()
85 self.saved_handlers = logging._handlers.copy()
86 self.saved_handler_list = logging._handlerList[:]
88 self.saved_name_to_level = logging._nameToLevel.copy()
89 self.saved_level_to_name = logging._levelToName.copy()
95 logging._releaseLock()
[all …]
/external/autotest/client/tests/iozone/
Dpostprocessing.py11 import os, sys, optparse, logging, math, time
117 logging.info("Results will be stored in %s", output_dir)
200 logger = logging.getLogger()
201 formatter = logging.Formatter("")
203 logging.info("")
204logging.info("TABLE: SUMMARY of ALL FILE and RECORD SIZES Results in MB/se…
205 logging.info("")
206logging.info("FILE & RECORD INIT RE RE RANDOM RANDOM BACKWD RECRE STRIDE …
207logging.info("SIZES (KB) WRITE WRITE READ READ READ WRITE READ WRITE READ …
208logging.info("------------------------------------------------------------------------------------…
[all …]
/external/autotest/client/common_lib/cros/
Dcfm_hangouts_api.py5 import logging
27 logging.info('Hotrod telemetry commands available for testing.')
47 logging.info('Reached oobe start page')
59 logging.info('Skipped oobe screen.')
66 logging.info('Is on oobe start page.')
68 logging.info('Is not on oobe start page.')
97 logging.info('Started hangout session: %s', hangout_name)
110 logging.info('Ended hangout session.')
117 logging.info('Is in hangout session.')
119 logging.info('Is not in hangout session.')
[all …]
Dcfm_meetings_api.py5 import logging
34 logging.info('Reached meetings landing page.')
42 logging.info('Reached meetings in-call page.')
73 logging.info('Started meeting session %s', meeting_code)
91 logging.info('Started meeting session: %s', meeting_name)
97 logging.info('Ended meeting session.')
102 logging.info('Is in meeting session.')
104 logging.info('Is not in meeting session.')
151 logging.info('Mic is muted.')
153 logging.info('Mic is not muted.')
[all …]
/external/autotest/client/common_lib/
Dlogging_config.py1 import logging
10 logging.basicConfig(level=logging.DEBUG)
13 class AllowBelowSeverity(logging.Filter):
26 class VarLogMessageFormatter(logging.Formatter):
45 global_level = logging.DEBUG
46 stdout_level = logging.INFO
47 stderr_level = logging.ERROR
56 file_formatter = logging.Formatter(fmt=FILE_FORMAT, datefmt=DATE_FORMAT)
60 console_formatter = logging.Formatter(fmt=CONSOLE_FORMAT,
67 self.logger = logging.getLogger()
[all …]
Dsmogcheck_tpm.py23 import datetime, logging
117 logging.info(' TPM 1.2 Version Info:\n')
118 logging.info(' Chip Version: %d.%d.%d.%d.', vi.version.major,
120 logging.info(' Spec Level: %d', vi.specLevel)
121 logging.info(' Errata Revision: %d', vi.errataRev)
123 logging.info(' TPM Vendor ID: %s', ''.join(vendorId))
125 logging.info(' Vendor Specific data (first 4 bytes in Hex): '
146 logging.info(' TPM Test Results: %s', ''.join(out))
170 logging.info('Attempt to load shared library %s', TSPI_C_LIB)
176 logging.info('Successfully loaded shared library %s', TSPI_C_LIB)
[all …]
Dbarrier.py1 import sys, socket, errno, logging
166 logging.info("tag=%s port=%d timeout=%r",
188 logging.error(error)
194 logging.info("seconds remaining: %d", timeout)
210 logging.warning("Ignoring invalid data from %s: %r",
216 logging.info("new client tag=%s, name=%s", tag, name)
224 logging.warning("client arriving for the wrong barrier: %s != %s",
231 logging.warning("duplicate client")
245 logging.warning("client handshake timeout: (%s:%d)",
250 logging.info("client now waiting: %s (%s:%d)",
[all …]
/external/autotest/client/cros/bluetooth/
Dbluetooth_device_xmlrpc_server.py13 import logging
14 import logging.handlers
68 logging.info('RequestPinCode for %s; return %s', device_path, self._pin)
189 logging.error('Error starting bluetoothd: %s', e)
192 logging.debug('waiting for bluez start')
199 logging.error('timeout: error starting bluetoothd: %s', e)
204 logging.debug('waiting for bluez to obtain adapter information')
211 logging.error('timeout: error starting adapter: %s', e)
215 logging.debug('waiting for bluez to obtain interface manager.')
222 logging.error('timeout: error getting advertising interface')
[all …]
Dbluetooth_tester_xmlrpc_server.py9 import logging
10 import logging.handlers
86 logging.warning('Bluetooth Controller missing on tester')
94 logging.warning('Controller does not support requested settings')
95 logging.debug('Supported: %b; Requested: %b', supported_settings,
124 logging.warning('Failed to power off adapter to accept settings')
135 logging.warning('Failed to enable BR/EDR')
139 logging.warning('Failed to enable LE')
145 logging.warning('Failed to disable BR/EDR')
149 logging.warning('Failed to disable LE')
[all …]
/external/autotest/client/site_tests/hardware_Badblocks/
Dhardware_Badblocks.py5 import logging, re, subprocess, threading
57 logging.info('badblocks taking too long---sending SIGKILL')
60 logging.info('%s', e)
67 logging.info('badblocks is waiting on %s', waiton)
84 logging.info(msg)
107 logging.info('badblocks output:')
110 logging.info(lines[0])
111 logging.info(lines[1])
118 logging.info('%s', pattern_info)
121 logging.info('%s', subline)
[all …]
/external/autotest/client/cros/audio/
Dcras_dbus_utils.py7 import logging
23 logging.exception(
41 logging.exception(
99 logging.debug('Got NodesChanged signal when loop is running.')
101 logging.debug('count = %d', self._count)
103 logging.debug('Quit main loop')
106 logging.debug('Got NodesChanged signal when loop is not running.'
117 logging.error('Quit main loop because of timeout')
120 logging.debug(
204 logging.debug('Before starting the counter')
[all …]
/external/toolchain-utils/android_bench_suite/
Dbuild_bench.py14 import logging
21 logging.basicConfig(level=logging.INFO)
62 logging.info('No CFLAGS specified, using default settings.')
65 logging.info('Cflags setting to "%s"...', cflags)
68 logging.info('No LDFLAGS specifed, using default settings.')
71 logging.info('Ldflags setting to "%s"...', ldflags)
75 logging.info('Flags set successfully!')
82 logging.info('BUILD_OS set to "%s"...', build_os)
84 logging.info('No BUILD_OS specified, using linux as default...')
91 logging.info('LLVM_PREBUILTS_VERSION set to "%s"...',
[all …]
/external/autotest/client/site_tests/desktopui_FlashSanityCheck/
Ddesktopui_FlashSanityCheck.py5 import logging
84 logging.error(output)
87 logging.error(output)
90 logging.info('get_arch_userspace = %s', arch)
92 logging.error(output)
95 logging.error(output)
98 logging.error(output)
100 logging.info('Verified file %s', name)
117 logging.info('Getting tab from telemetry...')
120 logging.warning('Unexpected exception getting tab: %s',
[all …]
/external/autotest/client/cros/cellular/pseudomodem/
Dconnect_machine.py5 import logging
30 logging.info('ConnectMachine: Canceling connect.')
35 logging.info('ConnectMachine: Setting state to REGISTERED.')
44 logging.info('ConnectMachine: Modem is DISABLED.')
48 logging.error(message)
55 logging.info('ConnectMachine: Initiating Enable.')
65 logging.info('ConnectMachine: Modem is ENABLING.')
67 logging.info('ConnectMachine: Waiting for enable.')
72 logging.info('ConnectMachine: Modem is ENABLED.')
78 logging.error(message)
[all …]
Ddisable_machine.py5 import logging
25 logging.info('DisableMachine: Modem is CONNECTED.')
29 logging.info('DisableMachine: Starting Disconnect.')
36 logging.info('DisableMachine: Modem is CONNECTING.')
38 logging.info('DisableMachine: Canceling connect.')
44 logging.info('DisableMachine: Modem is DISCONNECTING.')
46 logging.info('DisableMachine: Waiting for disconnect.')
52 logging.info('DisableMachine: Modem is REGISTERED.')
58 logging.info('DisableMachine: Setting state to DISABLING.')
65 logging.info('DisableMachine: Modem is SEARCHING.')
[all …]
/external/autotest/client/tests/cgroup/
Dcgroup.py1 import os, logging
24 logging.info('Starting cgroup testing')
29 logging.info("---< 'test_%s' START >---", i)
35 logging.info("---< 'test_%s' PASSED >---", i)
38 logging.error("test_%s: Test doesn't exist", i)
39 logging.info("---< 'test_%s' FAILED >---", i)
42 logging.error("test_%s: %s", i, inst)
43 logging.info("---< 'test_%s' FAILED >---", i)
46 logging.error('Some subtests failed (%s)' % err[:-2])
54 logging.debug('Setting up cgroups modules')
[all …]
/external/autotest/server/cros/faft/utils/
Dmode_switcher.py5 import logging
72 logging.info("Pressing Ctrl-D.")
94 logging.info('Enabled dut_sees_usb')
97 logging.info('ping timed out, try REC_ON')
117 logging.info('RECOVERY button pressed to switch to dev mode')
120 logging.info('ENTER pressed to switch to dev mode')
185 logging.info(info)
221 logging.info('Enabled dut_sees_usb')
224 logging.info('ping timed out, try REC_ON')
238 logging.info("Press and hold volume down button for %.1f seconds to "
[all …]
/external/fonttools/Tests/misc/
DloggingTools_test.py13 import logging
33 log = logging.getLogger(next(unique_logger_name))
40 handler = logging.StreamHandler(stream)
49 log = logging.getLogger(name)
50 log.setLevel(logging.DEBUG)
105 with timer('redo it', level=logging.WARNING):
118 @timer('run test 2', level=logging.INFO)
142 logging.getLogger(n+".A.B").debug('this record passes through')
145 logging.getLogger(n+'.A.B.C').debug('records from children also pass')
148 logging.getLogger(n+'.C.D').debug('this one as well')
[all …]
/external/autotest/client/site_tests/files_CopyFileToGoogleDriveUI/
Dfiles_CopyFileToGoogleDriveUI.py5 import logging
74 logging.debug("Windows opened: %s", windows)
76 logging.debug("Current window is %s", driver.title)
82 logging.debug("Switching to window")
84 logging.debug("Switched to window: %s", driver.title)
87 logging.info("%s application opened!", title)
90 logging.debug("Webdriver exception occurred. Exception: %s",
93 logging.debug("Exception: %s", str(e))
101 logging.info("Opening files application")
107 logging.error("Exception when switching files application.. %s",
[all …]
/external/autotest/site_utils/sponge_lib/
Dsponge_utils.py8 import logging
16 logging.debug('Module failed to be imported: sponge')
21 class SpongeLogHandler(logging.Handler):
34 def upload_results(job, log=logging.debug):
42 start_level = logging.getLogger().level
45 logging.getLogger().addHandler(log_handler)
46 logging.getLogger().setLevel(logging.DEBUG)
48 logging.info("added log handler")
51 logging.info('Starting sponge upload.')
55 logging.exception('Failed to upload to sponge.')
[all …]
/external/autotest/server/site_tests/enterprise_CFM_Aver520Updater/
Denterprise_CFM_Aver520Updater.py6 import logging
97 logging.debug('Aver 520 camera has old firmware after test'
112 logging.debug('Execute: %s', command)
116 logging.debug('Output: %s', output)
139 logging.debug('Parsing output from updater %s', cmd_output)
150 logging.debug('parsing line %s from output', line)
164 logging.debug('Version parsed from output is %s', version)
167 logging.debug('parsed version is %s ', version)
171 logging.debug('Version is %s', str(version))
209 logging.info('Copy firmware from (%s) to (%s).', src_firmware_path,
[all …]

12345678910>>...127