/external/chromium-trace/catapult/devil/devil/ |
H A D | __init__.py | 5 import logging namespace 7 logging.getLogger('devil').addHandler(logging.NullHandler())
|
/external/autotest/client/cros/video/ |
H A D | method_logger.py | 5 import logging namespace 21 """ Actual method doing the logging and also invokes method_to_log 26 logging.debug('+ ' + log_str) 32 logging.debug('*** Begin arguments:') 33 logging.debug(args) 34 logging.debug('=== End arguments.') 37 logging.debug('*** Begin keyword arguments:') 38 logging.debug(kwargs) 39 logging.debug('=== End keyword arguments.') 44 logging [all...] |
/external/autotest/site_utils/lxc/ |
H A D | unittest_logging.py | 5 import logging namespace 9 def setup(log_level=logging.INFO): 10 """Direct logging to stdout. 12 @param log_level: Level of logging to redirect to stdout, default to INFO. 14 logger = logging.getLogger() 16 handler = logging.StreamHandler(sys.stdout) 18 formatter = logging.Formatter('%(asctime)s %(message)s')
|
/external/autotest/client/cros/cellular/ |
H A D | cellular_logging.py | 6 import logging namespace 20 log = logging.getLogger(logger_name) 21 log.setLevel(logging.DEBUG) 22 ch = logging.StreamHandler(sys.stdout) 23 ch.setLevel(logging.DEBUG) 24 formatter = logging.Formatter(format_string)
|
/external/chromium-trace/catapult/devil/devil/utils/ |
H A D | run_tests_helper.py | 7 import logging namespace 12 class CustomFormatter(logging.Formatter): 17 # Can't use super() because in older Python versions logging.Formatter does 19 logging.Formatter.__init__(self, fmt=fmt) 24 # Can't use super() because in older Python versions logging.Formatter does 26 msg = logging.Formatter.format(self, record) 35 log_level = logging.WARNING # Default. 37 log_level = logging.INFO 39 log_level = logging.DEBUG 40 logger = logging [all...] |
/external/libmojo/third_party/catapult/devil/devil/utils/ |
H A D | run_tests_helper.py | 7 import logging namespace 12 class CustomFormatter(logging.Formatter): 17 # Can't use super() because in older Python versions logging.Formatter does 19 logging.Formatter.__init__(self, fmt=fmt) 24 # Can't use super() because in older Python versions logging.Formatter does 26 msg = logging.Formatter.format(self, record) 35 log_level = logging.WARNING # Default. 37 log_level = logging.INFO 39 log_level = logging.DEBUG 40 logger = logging [all...] |
/external/autotest/client/site_tests/desktopui_MashLogin/ |
H A D | desktopui_MashLogin.py | 5 import logging namespace 26 logging.warning('Skipping test run on this board.') 34 logging.info('Testing Chrome --mash startup.') 36 logging.info('Chrome --mash started and loaded OOBE.') 38 logging.info('Testing Chrome --mash login.') 40 logging.info('Chrome login with --mash succeeded.')
|
/external/autotest/client/site_tests/desktopui_MusLogin/ |
H A D | desktopui_MusLogin.py | 5 import logging namespace 26 logging.warning('Skipping test run on this board.') 34 logging.info('Testing Chrome --mus startup.') 37 logging.info('Chrome --mus started and loaded OOBE.') 39 logging.info('Testing Chrome --mus login.') 41 logging.info('Chrome login with --mus succeeded.')
|
/external/autotest/scheduler/ |
H A D | drone_logging_config.py | 4 import logging namespace 13 """This class sets up logging for the Drone Machines. 15 Drone_utility is kicked off on each tick, so this logging config sets up 38 """Configure logging for the Drones. 42 logging handlers are disabled because drone_utility's output is parsed 47 logging (enabling and/or disabling loggers) after drone_utility has 63 for level in (logging.DEBUG, logging.INFO, logging.WARNING, 64 logging [all...] |
/external/autotest/site_utils/sponge_lib/ |
H A D | sponge_utils.py | 8 import logging namespace 16 logging.debug('Module failed to be imported: sponge') 21 class SpongeLogHandler(logging.Handler): 22 """Helper log handler for logging during sponge.""" 34 def upload_results(job, log=logging.debug): 38 @param log: Logging method, default is logging.debug. 42 start_level = logging.getLogger().level 45 logging.getLogger().addHandler(log_handler) 46 logging.getLogger().setLevel(logging [all...] |
/external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/ |
H A D | LevelTestResource.java | 18 package org.apache.harmony.logging.tests.java.util.logging;
|
H A D | FilterTest.java | 18 package org.apache.harmony.logging.tests.java.util.logging; 20 import java.util.logging.Filter; 21 import java.util.logging.LogRecord;
|
/external/autotest/client/common_lib/cros/ |
H A D | adb_keepalive.py | 8 import logging namespace 22 logging.debug('adb get-state: %s', output) 29 logging.info('adb not connected. attempting to reconnect') 32 logging.debug('adb connect %s: %s', target, output) 37 logging.basicConfig(level=logging.DEBUG) 42 logging.info('Starting adb_keepalive for target %s', args.target) 49 logging.info('Shutting down')
|
H A D | dark_resume_xmlrpc_server.py | 7 import logging namespace 8 import logging.handlers namespace 46 logging.basicConfig(level=logging.DEBUG) 47 handler = logging.handlers.SysLogHandler(address = '/dev/log') 48 formatter = logging.Formatter( 51 logging.getLogger().addHandler(handler) 52 logging.debug('dark_resume_xmlrpc_server main...')
|
/external/autotest/client/cros/cellular/pseudomodem/ |
H A D | logging_setup.py | 6 # This module brings together the magic to setup logging correctly for 9 import logging namespace 10 import logging.handlers namespace 16 class ModemManagerFormatter(logging.Formatter): 44 The main function that sets up logging as expected. It does the following: 46 (1) Clear out existing logging setup that leaks in during autotest import. 47 (2) Setup logging handler to log to stdout 48 (3) Setup logging handler to log to syslog. 51 root = logging.getLogger() 55 stdout_handler = logging [all...] |
/external/autotest/client/cros/ |
H A D | dark_resume_xmlrpc_server.py | 7 import logging namespace 8 import logging.handlers namespace 46 logging.basicConfig(level=logging.DEBUG) 47 handler = logging.handlers.SysLogHandler(address = '/dev/log') 48 formatter = logging.Formatter( 51 logging.getLogger().addHandler(handler) 52 logging.debug('dark_resume_xmlrpc_server main...')
|
/external/autotest/client/site_tests/hardware_ProbeComponents/ |
H A D | hardware_ProbeComponents.py | 11 import logging namespace 21 logging.info(probe_results)
|
/external/autotest/client/site_tests/security_RootfsOwners/ |
H A D | security_RootfsOwners.py | 5 import logging namespace 24 logging.error('chronos-/chronos-access-owned files:') 25 logging.error(cmd_output)
|
/external/autotest/server/site_tests/provision_CheetsUpdate/lib/ |
H A D | util.py | 17 import logging namespace 35 if logging.getLogger().isEnabledFor(logging.DEBUG): 36 logging.debug('Calling: %s', get_command_str(subprocess_args)) 42 logging.error('Error while executing %s', get_command_str(subprocess_args)) 43 logging.error(e.output) 49 if logging.getLogger().isEnabledFor(logging.DEBUG): 50 logging.debug('Calling: %s', get_command_str(subprocess_args)) 52 logging [all...] |
/external/markdown/bin/ |
H A D | markdown | 32 import logging namespace 37 logger = logging.getLogger('MARKDOWN') 39 logger.addHandler(logging.StreamHandler())
|
/external/mesa3d/src/egl/main/ |
H A D | egllog.c | 58 } logging = { variable in typeref:struct:__anon14787 79 * Recursive logging is not allowed. 86 mtx_lock(&logging.mutex); 88 if (logging.logger != logger) { 89 logging.logger = logger; 91 num_messages = logging.num_messages; 92 logging.num_messages = 0; 95 mtx_unlock(&logging.mutex); 115 mtx_lock(&logging.mutex); 116 logging [all...] |
/external/autotest/client/site_tests/hardware_GobiGPS/ |
H A D | hardware_GobiGPS.py | 16 import logging, re namespace 37 logging.debug(nmea) 63 logging.debug('Got fix:') 64 logging.debug('Time = %s', match.group(1)) 65 logging.debug('Status = %s', match.group(2)) 66 logging.debug('Latitude = %s %s', match.group(3), 68 logging.debug('Longitude = %s %s', match.group(5), 70 logging.debug('Speed = %s', match.group(7)) 71 logging.debug('Track Angle = %s', match.group(8)) 72 logging [all...] |
/external/autotest/frontend/afe/ |
H A D | rpcserver_logging.py | 1 import logging, logging.handlers, time, os namespace 17 handler = logging.handlers.SocketHandler( 23 rpc_logger = logging.getLogger('rpc_logger') 26 rpc_logger.setLevel(logging.DEBUG)
|
/external/clang/tools/scan-build-py/libscanbuild/ |
H A D | __init__.py | 45 import logging namespace 46 level = logging.WARNING - min(logging.WARNING, (10 * verbose_level)) 54 logging.basicConfig(format=fmt_string.format(program), level=level) 61 import logging namespace 70 logging.warning('Keyboard interupt') 72 logging.exception('Internal error.') 73 if logging.getLogger().isEnabledFor(logging.DEBUG): 74 logging [all...] |
/external/autotest/client/cros/chameleon/ |
H A D | resolution_comparison.py | 7 import logging namespace 42 logging.exception(e) 46 logging.info('Checking the resolutions of Chameleon and CrOS...') 60 logging.error(message) 63 logging.warn(message) 65 logging.info('Resolutions across CrOS and Chameleon match: %dx%d', 99 logging.exception(e) 103 logging.info('Checking the resolutions of Chameleon and CrOS...') 111 logging.error(message) 114 logging [all...] |