Home
last modified time | relevance | path

Searched refs:logging (Results 1 - 25 of 294) sorted by relevance

12345678910>>...12

/third_party/python/Lib/test/
H A Dtest_logging.py17 """Test harness for the logging module. Run all tests.
22 import logging namespace
23 import logging.handlers namespace
24 import logging.config namespace
81 """Base class for logging tests."""
88 """Setup the default logging stream to an internal StringIO instance,
92 logger_dict = logging.getLogger().manager.loggerDict
93 logging._acquireLock()
95 self.saved_handlers = logging._handlers.copy()
96 self.saved_handler_list = logging
[all...]
/third_party/skia/third_party/externals/abseil-cpp/
H A Droll_abseil.py6 import logging namespace
16 logging.info('Updating abseil...')
21 logging.info('Updating chromium...')
28 logging.info('Updating ' + readme_filename)
44 logging.info('Abseil old revision is ' + old_revision)
45 logging.info('Abseil new revision is ' + new_revision)
50 logging.info('Syncing abseil in chromium/src/third_party...')
74 logging.info('Patching abseil...')
83 logging.info('Commit...')
95 logging
[all...]
H A Dgenerate_def_files.py22 import logging namespace
79 logging.error('dumpbin not found. Run tools\win\setenv.bat.')
82 logging.info('[%s - %s] Creating tmp out dir in %s', cpu, flavor, out_dir)
85 logging.info('[%s - %s] gn gen completed', cpu, flavor)
89 logging.info('[%s - %s] autoninja completed', cpu, flavor)
97 logging.info('[%s - %s] Found %d object files.', cpu, flavor, len(obj_files))
140 logging.info('[%s - %s] Found %d absl symbols.', cpu, flavor, len(absl_symbols))
157 logging.info('[%s - %s] .def file successfully generated.', cpu, flavor)
161 logging.getLogger().setLevel(logging
[all...]
/third_party/gn/src/base/
H A Dlogging.h33 // process from the main application. When the logging system needs to display
43 // If DebugMessage.exe is not found, the logging code will use a normal
49 // Make a bunch of macros for logging. The way to log things is to stream
54 // You can also do conditional logging:
62 // There are also "debug mode" logging macros like the ones above:
68 // All "debug mode" logging is compiled away to nothing for non-debug mode
96 // Very important: logging a message at the FATAL severity level causes
102 namespace logging { namespace
135 #define ANALYZER_ASSUME_TRUE(arg) logging::AnalyzerAssumeTrue(!!(arg))
137 static_cast<void>(::logging
[all...]
/third_party/python/PC/layout/support/
H A Dlogging.py8 import logging namespace
28 LOG = logging.getLogger("make_layout")
29 LOG.level = logging.DEBUG
32 s_level = max(logging.ERROR - ns.v * 10, logging.DEBUG)
33 f_level = max(logging.WARNING - ns.v * 10, logging.DEBUG)
35 s_level = logging.ERROR
36 f_level = logging.INFO
38 handler = logging
[all...]
/third_party/skia/third_party/externals/angle2/src/tests/
H A Drun_perf_tests.py15 import logging namespace
92 logging.debug(' '.join(cmd))
121 logging.debug('Searching for %s in output' % pattern)
124 logging.warning('Did not find the result "%s" in the test output:\n%s' % (result, output))
134 logging.debug('Read %d lines from test output.' % len(lines))
145 logging.debug('Found %d tests from test output.' % len(tests))
192 logging.info('Saving perf histograms to %s.' % perf_output_path)
235 logging.info('Saving test results to %s.' % fname)
301 importlib.reload(logging)
302 logging
[all...]
/third_party/mbedtls/scripts/mbedtls_dev/
H A Dlogging_util.py1 """Auxiliary functions used for logging module.
8 import logging namespace
12 logger: logging.Logger,
14 split_level=logging.WARNING
17 Configure the logging.Logger instance so that:
22 Default: logging.WARNING
24 class MaxLevelFilter(logging.Filter):
30 def filter(self, record: logging.LogRecord) -> bool:
33 log_formatter = logging.Formatter(log_format)
36 stderr_hdlr = logging
[all...]
/third_party/python/Tools/c-analyzer/c_common/
H A Dlogging.py1 import logging namespace
9 _logger = logging.getLogger(__name__.rpartition('.')[0])
14 maxlevel=logging.CRITICAL,
24 handler = logging.FileHandler(logfile)
26 handler = logging.StreamHandler(sys.stdout)
28 #handler.setFormatter(logging.Formatter())
49 orig = logging.raiseExceptions
50 logging.raiseExceptions = False
52 logging.raiseExceptions = orig
/third_party/alsa-utils/axfer/
H A Dxfer-libasound.c234 logging(state, in disable_period_wakeup()
241 logging(state, in disable_period_wakeup()
251 logging(state, in disable_period_wakeup()
280 logging(state, "Fail to open libasound PCM node for %s: %s\n", in open_handle()
300 logging(state, "Available HW Params of node: %s\n", in open_handle()
403 logging(state, in configure_hw_params()
411 logging(state, in configure_hw_params()
422 logging(state, in configure_hw_params()
430 logging(state, in configure_hw_params()
441 logging(stat in configure_hw_params()
[all...]
/third_party/python/Lib/logging/
H A Dconfig.py18 Configuration functions for the logging package for Python. The core package
24 To use, simply 'import logging' and log away!
29 import logging namespace
30 import logging.handlers namespace
47 # reconfiguration of logging.
54 Read the logging configuration from a ConfigParser-format file.
85 logging._acquireLock()
89 # Handlers add themselves to logging._handlers
93 logging._releaseLock()
126 c = logging
[all...]
H A Dhandlers.py18 Additional handlers for the logging package for Python. The core package is
23 To use, simply 'import logging.handlers' and log away!
26 import io, logging, socket, os, pickle, struct, time, re namespace
45 class BaseRotatingHandler(logging.FileHandler):
56 Use the specified filename for streamed logging
58 logging.FileHandler.__init__(self, filename, mode=mode,
75 logging.FileHandler.emit(self, record)
121 Handler for logging to a set of files, which switches from one file
127 Open the specified file and use it as the stream for logging.
204 Handler for logging t
[all...]
/third_party/skia/third_party/externals/angle2/scripts/
H A Droll_chromium_deps.py18 import logging namespace
174 logging.error('Failed to parse commit position id from:\n%s\n', commit_message)
188 logging.debug('CMD: %s CWD: %s', ' '.join(command), working_dir)
192 logging.debug('extra env: %s', extra_env)
206 logging.error('Command failed: %s\n'
237 logging.debug('Reading gitiles URL %s' % url)
263 logging.exception('Error connecting to %s. Error: %s', url, e)
326 logging.debug('Roll dependency %s to %s', path, new_version)
397 logging.debug('Roll dependency %s to %s', path, new_rev)
420 logging
[all...]
H A Dgen_angle_gn_info_json.py27 import logging namespace
36 logging.error("e.retcode = %s" % e.returncode)
37 logging.error("e.cmd = %s" % e.cmd)
38 logging.error("e.output = %s" % e.output)
62 logging.debug("dep: %s%s" % (indent, dep))
67 logging.debug("dup: %s%s" % (indent, dep))
73 logging.debug("targets = %s" % targets)
76 logging.debug("target: %s" % (target))
82 logging.debug("Invalid target: %s" % target)
87 logging
[all...]
H A Dprocess_angle_perf_results.py16 import logging namespace
25 logging.basicConfig(
26 level=logging.INFO,
92 logging.info('upload_results_to_perf_dashboard: %s.' % args)
142 logging.warning('No results produced for %s, skipping upload' % directory)
157 logging.error('Failed to obtain test results for %s: %s', benchmark_name, e)
162 logging.info('Benchmark %s ran no tests on at least one shard' % benchmark_name)
271 logging.info('lightweight mode: %r; handle_perf: %r; handle_non_perf: %r' %
311 logging.exception('Error handling perf results jsons')
321 logging
[all...]
H A Dupdate_extension_data.py11 import logging namespace
63 logging.debug(' '.join(args))
89 logging.debug(' '.join(swarming_args))
120 logging.info('Found task with ID: %s, %s' %
131 logging.warning('Multiple candidates found for %s' % target_file_name)
134 logging.info('%s -> %s' % (fname, target_file))
154 logging.basicConfig(level=LOG_LEVELS[args.verbose])
164 logging.info('%s: build id %s' % (builder, build_id))
170 logging.info('Found swarm hash: %s' % test_suite_hash)
186 logging
[all...]
H A Dtrigger.py13 import logging namespace
67 logging.info('Standalone mode detected.')
70 logging.info('Invoking mb: %s' % ' '.join(mb_args))
77 logging.basicConfig(level=args.log.upper())
85 logging.info('Swarming command: %s' % ' '.join(swarming_cmd))
97 logging.info('Invoking isolate: %s' % ' '.join(isolate_args))
102 logging.info('Got an CAS digest %s' % digest)
157 logging.info('Invoking swarming: %s' % ' '.join(shard_args))
161 logging.info('Invoking swarming: %s' % ' '.join(swarming_args))
/third_party/mesa3d/src/egl/main/
H A Degllog.c67 } logging = { variable
102 * Initialize the logging facility.
110 if (logging.initialized) in _eglInitLogger()
123 logging.level = (level >= 0) ? level : FALLBACK_LOG_LEVEL; in _eglInitLogger()
124 logging.initialized = EGL_TRUE; in _eglInitLogger()
142 return logging.level; in _eglGetLogLevel()
158 if (!logging.initialized) in _eglLog()
160 if (level > logging.level || level < 0) in _eglLog()
163 mtx_lock(&logging.mutex); in _eglLog()
173 mtx_unlock(&logging in _eglLog()
[all...]
/third_party/skia/third_party/externals/angle2/src/tests/restricted_traces/
H A Dsync_restricted_traces_to_cipd.py14 import logging namespace
29 logging.debug('running cipd with args: %s', ' '.join(args))
33 logging.debug('cipd stdout:\n%s' % completed.stdout)
45 logging.debug('Skipping %s because it does not match the test filter.' % trace)
57 logging.info('%s version %s already present' % (trace, trace_version))
60 logging.info('%s version %s missing. calling create.' % (trace, trace_version))
64 logging.error('%s version %s create failed' % (trace, trace_version))
80 logging.basicConfig(level=args.log.upper())
H A Drestricted_trace_gold_tests.py16 import logging namespace
77 logging.info("Removing temporary directory: %s" % path)
164 logging.exception('get_skia_gold_keys may only be called once')
214 logging.info(str)
249 logging.error('Generated image: %s', given_file or failure_message)
250 logging.error('Closest image: %s', closest_file or failure_message)
251 logging.error('Diff image: %s', diff_file or failure_message)
279 logging.info('Screenshot not found, test skipped.')
293 logging.error('Gold authentication failed with output %s', error)
295 logging
[all...]
H A Dretrace_restricted_traces.py15 import logging namespace
45 logging.fatal('Could not find context header for %s' % trace)
136 logging.basicConfig(level=args.log.upper())
153 logging.debug('Tracing %s' % trace)
159 logging.info('Skipping "%s" because the out folder already exists' % trace)
165 logging.debug('Read metadata: %s' % str(metadata))
200 logging.debug('Running "%s" with environment: %s' %
208 logging.error('There was a problem tracing "%s", could not find header file: %s' %
214 logging.exception('There was an exception running "%s":' % trace)
/third_party/curl/tests/
H A Ddictserver.py33 import logging namespace
44 log = logging.getLogger(__name__)
137 Set up logging from the command line options
139 root_logger = logging.getLogger()
142 formatter = logging.Formatter("%(asctime)s %(levelname)-5.5s %(message)s")
148 handler.setLevel(logging.DEBUG)
156 root_logger.setLevel(logging.DEBUG)
159 root_logger.setLevel(logging.INFO)
162 stdout_handler = logging.StreamHandler(sys.stdout)
164 stdout_handler.setLevel(logging
[all...]
/third_party/python/Lib/unittest/
H A D_log.py1 import logging namespace
10 class _CapturingHandler(logging.Handler):
12 A logging handler capturing all (raw and formatted) logging output.
16 logging.Handler.__init__(self)
37 self.level = logging._nameToLevel.get(level, level)
39 self.level = logging.INFO
44 if isinstance(self.logger_name, logging.Logger):
47 logger = self.logger = logging.getLogger(self.logger_name)
48 formatter = logging
[all...]
/third_party/json/tools/serve_header/
H A Dserve_header.py4 import logging namespace
31 class ExitHandler(logging.StreamHandler):
128 logging.info(f'{self.name}: working tree marked dirty')
139 logging.info(f'{self.name}: no changes')
143 logging.info(f'{self.name}: header amalgamated (build count {self.build_count})')
173 logging.debug('path disappeared: %s', e)
188 logging.info(f'adding working tree {tree.name}')
190 logging.info(f'adding working tree {tree.name} at {tree.rel_dir}')
192 logging.info(f'{tree.name}: serving header at {url}')
207 logging
[all...]
/third_party/skia/third_party/externals/harfbuzz/src/
H A Dgen-ucd-table.py10 import logging namespace
11 logging.basicConfig(format='%(levelname)s: %(message)s', level=logging.INFO)
20 logging.info('Loading UCDXML...')
26 logging.info('Preparing data tables...')
91 logging.info('Generating output...')
124 logging.info(' Compression=%d:' % compression)
153 logging.info(' Dataset=%-8s FullCost=%d' % (name, sol.fullCost))
167 logging.info('Done.')
/third_party/node/deps/v8/tools/
H A Drun_perf.py111 import logging namespace
252 logging.debug('HasEnoughRuns for %s', graph_config.name)
255 logging.debug(' Ran %d times, need at least %d',
259 logging.debug(' Results: %d entries', len(results))
262 logging.debug(' Mean: %.2f, mean_stderr: %.2f', avg, avg_stderr)
263 logging.info('>>> Confidence level is %.2f',
287 logging.info('>>> Processed stdout (#%d):\n%s', count, output.stdout)
457 logging.debug('Changing CWD to: %s' % cwd)
468 logging.info('Profiler supported only on a benchmark run with d8')
489 count: Index of the test run (used for better logging)
[all...]

Completed in 13 milliseconds

12345678910>>...12