Searched refs:logging (Results 101 - 125 of 955) sorted by relevance

1234567891011>>

/external/chromium_org/chrome/common/extensions/docs/examples/apps/hello-python/
H A Dmain.py14 import logging namespace
66 logging.debug('Requesting %s' % url)
69 logging.debug('Got response code %s, content %s' % (resp, content))
89 logging.debug('Attempting to JSON parse: %s' % response_text)
91 logging.debug('Got license server response: %s' % json)
93 logging.exception('Could not parse response as JSON: %s' % response_text)
97 logging.exception('Could not fetch license data')
/external/chromium_org/chrome/tools/
H A Dinconsistent-eol.py20 import logging namespace
38 logging.debug(len(split) - 1)
78 logging.debug(filename)
85 logging.warning('File %s not found.' % filename)
122 debug_level = logging.DEBUG
124 debug_level = logging.INFO
125 logging.basicConfig(level=debug_level,
/external/chromium_org/tools/telemetry/telemetry/core/backends/chrome/
H A Dinspector_websocket.py6 import logging namespace
61 if logging.getLogger().isEnabledFor(logging.DEBUG):
62 logging.debug('sent [%s]', json.dumps(req, indent=2, sort_keys=True))
116 if logging.getLogger().isEnabledFor(logging.DEBUG):
117 logging.debug('got [%s]', json.dumps(res, indent=2, sort_keys=True))
/external/chromium_org/chrome/common/extensions/docs/server2/
H A Dcontent_providers.py5 import logging namespace
68 logging.warn(("Using local debug folder (%s) for "
82 logging.error('No content provider found with name "%s"' % name)
123 logging.error('%s: "chromium" must have a "dir" property' % name)
133 logging.error('%s: "chromium" must have a "dir" property' % name)
140 logging.error('%s: "gcs" must have a "bucket" property' % name)
144 logging.error('%s: bucket %s should start with gs://' % (name, bucket))
154 logging.error('%s: "github" must provide an "owner" and "repo"' % name)
162 logging.error('%s: content provider type not supported' % name)
186 logging
[all...]
H A Dgcs_file_system.py15 import logging namespace
74 logging.debug('gcs: using debug access token: %s' % debug_access_token)
77 logging.debug('gcs: prefixing all bucket names with %s' %
88 logging.debug('gcs: requested path "%s", reading "%s"' %
119 logging.warn(('Authentication error on Cloud Storage. Check if your'
127 logging.debug(traceback.format_exc())
H A Dgithub_file_system.py6 import logging namespace
42 logging.error('Github authentication failed for %s, falling back to '
48 logging.error('Bad github zip file: %s' % e)
55 logging.error('Bad github zip file: %s' % e)
107 logging.error('Bad github zip file: %s' % e)
123 logging.error('Github ReadFile error: %s' % e)
126 logging.error('Bad github zip file.')
135 logging.error('Github ListDir error: %s' % e)
138 logging.error('Bad github zip file.')
179 logging
[all...]
/external/chromium_org/extensions/shell/app/
H A Dshell_main_delegate.cc9 #include "base/logging.h"
38 logging::LoggingSettings settings;
39 settings.logging_dest = logging::LOG_TO_ALL;
41 settings.delete_old = logging::DELETE_OLD_LOG_FILE;
42 logging::InitLogging(settings);
43 logging::SetLogItems(true, true, true, true);
/external/chromium_org/media/tools/constrained_network_server/
H A Dcn.py15 import logging namespace
19 # Default logging is ERROR. Use --verbose to enable DEBUG logging.
20 _DEFAULT_LOG_LEVEL = logging.ERROR
108 log_level = logging.DEBUG
109 logging.basicConfig(level=log_level, format='%(message)s')
119 logging.error('Error: %s\n\nOutput: %s', e.msg, e.error)
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/system/
H A Dlogtesting.py23 """Supports the unit-testing of logging code.
26 logging module.
29 more advanced needs (e.g. unit-testing methods that configure logging),
34 import logging namespace
40 """Represents a file-like object for unit-testing logging.
42 This is meant for passing to the logging.StreamHandler constructor.
62 # http://docs.python.org/library/logging.html#module-logging.handlers
87 self._log = LogTesting.setUp(self) # Turn logging on.
90 self._log.tearDown() # Turn off and reset logging
[all...]
/external/chromium_org/components/test/data/password_manager/
H A Dwebsitetest.py7 import logging namespace
85 logging.info("action: Click %s" % selector)
104 logging.info("action: ClickIfVisible %s" % selector)
119 logging.info("action: GoTo %s" % self.name)
132 logging.info("action: Hover %s" % selector)
144 logging.info("action: SendEnterTo %s" % selector)
158 logging.info("action: IsDisplayed %s" % selector)
172 logging.info("action: Wait %s" % duration)
212 logging.info("action: FillPasswordInto %s" % selector)
250 logging
[all...]
/external/chromium_org/tools/telemetry/telemetry/core/platform/profiler/
H A Dmonsoon.py12 import logging namespace
71 logging.error('device %s is in use', port)
80 logging.error('error opening device %s: %s', port, e)
84 logging.error('no response from device %s', port)
86 logging.error('device %s is #%d', port, status['serialNumber'])
97 logging.info('waiting for device...')
128 logging.debug('wanted status, dropped type=0x%02x, len=%d',
191 logging.debug('wanted data, dropped type=0x%02x, len=%d',
200 logging.info('data sequence skipped, lost packet?')
205 logging
[all...]
/external/chromium_org/chrome/common/
H A Dlogging_chrome.cc40 #include "base/logging.h"
86 // Assertion handler for logging errors that occur when dialogs are
95 // Suppresses error/assertion dialogs and enables the logging of
101 logging::SetLogAssertHandler(SilentRuntimeAssertHandler);
118 namespace logging { namespace
125 const logging::LoggingDestination kDefaultLoggingMode = logging::LOG_TO_FILE;
129 const logging::LoggingDestination kDefaultLoggingMode = logging::LOG_TO_ALL;
135 logging
[all...]
/external/chromium_org/build/android/pylib/
H A Dchrome_test_server_spawner.py14 import logging namespace
147 logging.error('Failed to wait to the Python test server to be started.')
160 logging.error('Failed to get length of server data.')
164 logging.error('Failed to get server data.')
166 logging.info('Got port json data: %s', port_json)
171 logging.error('Failed to get port information from the server data.')
219 logging.info('Start running the thread!')
229 logging.info('Running: %s', command)
262 logging.info('Test-server has died.')
303 logging
[all...]
/external/chromium_org/tools/
H A Dcheck_git_config.py23 import logging namespace
91 logging.exception('Failed to get FQDN')
117 logging.exception('Unexpected error when calling git')
142 logging.exception('Unexpected error when calling git')
162 logging.exception('Failed to read .gclient solution')
179 logging.exception('Unexpected error when calling git')
205 logging.exception('Failed to read netrc from %s', netrc_path)
258 logging.exception('Failed to write JSON to %s', path)
271 logging.exception('Failed to remove temp directory %s', tmp)
305 logging
[all...]
H A Dsync-webkit-git.py15 import logging namespace
28 logging.info(' '.join(command))
32 logging.info('Returned "%s"' % out)
84 logging.info(' '.join(cmd))
145 logging.basicConfig(level=logging.INFO)
H A Dupdate_reference_build.py23 import logging namespace
88 logging.info(str(args) + ' ' + (cwd or ''))
94 logging.critical(stderr)
95 logging.info(stdout)
159 logging.info('%s alread exists, skipping download', output)
163 logging.critical('Failed to find %s build for r%s\n', platform,
173 logging.info('Downloading %s, saving to %s', url, output)
198 logging.info('Opening %s', dl_file)
211 logging.info('Extracting %s to %s (%s)', content, dest, dl_file)
240 logging
[all...]
/external/chromium_org/build/android/
H A Dupdate_verification.py8 import logging namespace
31 logging.info('Installing %s...', from_apk)
50 logging.info('Installing %s...', from_apk)
56 logging.info('Restoring the application data...')
60 logging.info('Verifying that %s cannot be installed side-by-side...',
70 logging.info('Verifying that %s can be overinstalled...', to_apk)
75 logging.info('Successfully updated to the new apk. Please verify that the '
80 logger = logging.getLogger()
81 logger.setLevel(logging.DEBUG)
/external/chromium_org/tools/telemetry/build/
H A Dupdate_docs.py4 import logging namespace
63 logging.debug("skipping %s due to being a unittest", modname)
69 logging.info("skipping %s due to being an orphan .pyc", module.__file__)
132 logging.getLogger().setLevel(logging.DEBUG)
134 logging.getLogger().setLevel(logging.INFO)
136 logging.getLogger().setLevel(logging.WARNING)
/external/chromium_org/build/android/pylib/monkey/
H A Dtest_runner.py7 import logging namespace
49 test_name: String to use for logging the test result.
71 logging.error('Failed to start the process.')
73 logging.error('Process %s has died.', before_pids[self._package])
75 logging.error('Detected process restart %s -> %s',
89 logging.warning('Starting MinidumpUploadService...')
93 logging.error('Failed to start MinidumpUploadService: %s', e)
/external/chromium_org/third_party/cython/src/Cython/Debugger/
H A DCygdb.py21 import logging namespace
23 logger = logging.getLogger(__name__)
108 logging_level = logging.WARN
110 logging_level = logging.INFO
112 logging_level = logging.DEBUG
113 logging.basicConfig(level=logging_level)
/external/chromium_org/tools/telemetry/telemetry/core/platform/power_monitor/
H A Dmsr_power_monitor.py5 import logging namespace
50 logging.info('Cannot monitor power: pre-Sandy Bridge CPU.')
117 logging.info('Cannot monitor power: no energy readings.')
121 logging.info('Cannot monitor power: no temperature readings.')
124 logging.info('Cannot monitor power: %s' % e)
132 logging.info('Cannot monitor power: pre-Sandy Bridge CPU.')
/external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/
H A DHandlerTest.java18 package org.apache.harmony.logging.tests.java.util.logging;
25 import java.util.logging.ErrorManager;
26 import java.util.logging.Filter;
27 import java.util.logging.Formatter;
28 import java.util.logging.Handler;
29 import java.util.logging.Level;
30 import java.util.logging.LogManager;
31 import java.util.logging.LogRecord;
32 import java.util.logging
[all...]
/external/apache-http/src/org/apache/commons/logging/impl/
H A DNoOpLog.java18 package org.apache.commons.logging.impl;
22 import org.apache.commons.logging.Log;
/external/chromium_org/base/
H A Dlogging.h29 // process from the main application. When the logging system needs to display
39 // If DebugMessage.exe is not found, the logging code will use a normal
46 // Make a bunch of macros for logging. The way to log things is to stream
51 // You can also do conditional logging:
59 // There are also "debug mode" logging macros like the ones above:
65 // All "debug mode" logging is compiled away to nothing for non-debug mode
76 // There are "verbose level" logging macros. They look like
82 // The verbose logging can also be turned on module-by-module. For instance,
97 // E.g., "*/foo/bar/*=2" would change the logging level for all code
103 // // do some logging preparatio
138 namespace logging { namespace
[all...]
/external/chromium_org/build/android/pylib/base/
H A Dbase_test_runner.py7 import logging namespace
84 logging.warning('Pushing data files to device.')
87 logging.warning(
90 logging.warning(
94 logging.warning('Skipping pushing data to device.')
114 logging.info('http server started: http://localhost:%s',
117 logging.critical('Failed to start http server')
199 logging.error(';'.join(error_msgs))

Completed in 1599 milliseconds

1234567891011>>