Home
last modified time | relevance | path

Searched refs:_logger (Results 1 – 25 of 47) sorted by relevance

12

/external/chromium-trace/catapult/telemetry/third_party/websocket-client/websocket/
D_logging.py24 _logger = logging.getLogger('websocket') variable
40 if not _logger.handlers:
41 _logger.addHandler(logging.StreamHandler())
42 _logger.setLevel(logging.DEBUG)
47 _logger.debug("--- " + title + " ---")
48 _logger.debug(message)
49 _logger.debug("-----------------------")
53 _logger.error(msg)
57 _logger.warning(msg)
61 _logger.debug(msg)
[all …]
/external/autotest/client/cros/
Ddhcp_test_server.py83 self._logger = logging.getLogger("dhcp.test_server")
121 self._logger.info("DhcpTestServer started; opening sockets.")
124 self._logger.info("Opening socket on '%s' port %d." %
129 self._logger.info("Binding to %s" % self._interface)
138 self._logger.error("Socket error: %s." % str(socket_error))
139 self._logger.error(traceback.format_exc())
143 self._logger.error("Failed to open server socket. Aborting.")
188 self._logger.info("Manually aborting test.")
200 self._logger.info("DHCP server says test passed.")
202 self._logger.info("DHCP server says test failed.")
[all …]
/external/autotest/client/cros/cellular/wardmodem/
Dat_transceiver.py78 self._logger = logging.getLogger(__name__)
118 self._logger.debug('Finished loading AT --> wardmodem configuration.')
119 self._logger.debug(self._at_to_wm_action_map)
120 self._logger.debug('Finished loading wardmodem --> AT configuration.')
121 self._logger.debug(self._wm_response_to_at_map)
166 self._logger.warning(
170 self._logger.info('Set mode to %s',
237 self._logger.debug('Processing wardmodem response %s%s',
260 self._logger.debug('Command {modem ==> []}: |%s|', command)
262 self._logger.debug('Command {[] ==> mm}: |%s|' , command)
[all …]
Dwardmodem.py65 self._logger = logging.getLogger(__name__)
105 self._logger.info('Starting wardmodem...')
117 self._logger.info('Stopping wardmodem.')
237 self._logger.debug('Added client specified machine {%s --> %s}',
246 self._logger.debug(
256 self._logger.debug('Added default machine {%s --> %s}',
259 self._logger.info('Loaded state machines: %s', str(state_machines))
352 self._logger = logging.getLogger(__name__)
353 self._logger.info('Initializing wardmodem context.')
357 self._logger.info('WardModemContext directed to do nothing. '
[all …]
Dtask_loop.py61 self._logger = logging.getLogger(__name__)
98 self._logger.debug('Turning %s delays ignored mode.', ('on' if value
124 self._logger.debug('Turning %s random delays.', ('on' if value else
149 self._logger.warning(
154 self._logger.debug('Set max random delay to %d. Random delay is %s',
168 self._logger.info('Task Loop is now processing tasks...')
177 self._logger.info('Task Loop quitting.')
256 self._logger.debug('Task posted: %s', repr(callback))
257 self._logger.debug('Arguments: %s, Keyword arguments: %s',
315 self._logger.debug('Ignored return value from repeated task: %s',
Dat_channel.py72 self._logger = logging.getLogger(__name__)
109 self._logger.debug('AT command prefix set to: |%s|', value)
129 self._logger.debug('AT command suffix set to: |%s|', value)
155 self._logger.warning('%s Send Failed: |%s|',
160 self._logger.debug('%s Sent: |%s|',
170 self._logger.debug('%s Received: |%s|',
189 self._logger.warning('%s Signal received on unknown channel. '
196 self._logger.warning('%s Unexpected cb condition %s received. Ignored.',
Dstate_machine.py40 self._logger = logging.getLogger(__name__)
96 self._logger.debug(dbgstr)
123 self._logger.debug(dbgstr)
192 self._logger.error(errstring)
204 self._logger.error(errstring)
238 self._logger.debug(dbgstr)
Dmodem_configuration.py35 self._logger = logging.getLogger(__name__)
43 self._logger.info('Loading basic configuration.')
45 self._logger.debug('Basic configuration:\n%s',
51 self._logger.info('Loading modem specific configuration for modem '
54 self._logger.debug('Plugin configuration:\n%s',
Dglobal_state.py34 self._logger = logging.getLogger(__name__)
84 self._logger.debug('GlobalState write: [%s: %s --> %s]',
158 self._logger.error(errstring)
169 self._logger.error(errstring)
/external/toolchain-utils/crosperf/
Dbenchmark_run.py37 self._logger = logger_to_use
47 self.suite_runner = SuiteRunner(self._logger, self.log_level)
56 self._ce = command_executer.GetCommandExecuter(self._logger,
73 self.label.board, self.cache_conditions, self._logger,
88 self._logger.LogOutput('%s: Cache hit.' % self.name)
89 self._logger.LogOutput(self.result.out, print_to_console=False)
90 self._logger.LogError(self.result.err, print_to_console=False)
93 self._logger.LogOutput('%s: No cache hit.' % self.name)
98 self._logger, self.log_level, self.label, self.machine, output, err,
103 self._logger.LogOutput('%s: No cache hit.' % self.name)
[all …]
Ddownload_images.py49 self._logger = logger_to_use
52 self._logger, log_level=self.log_level)
71 self._logger.LogOutput('Preparing to download %s image to local '
87 self._logger.LogOutput('CMD: %s' % command)
108 exception_handler = RunCommandExceptionHandler(self._logger, self.log_level,
111 self._logger.LogOutput('CMD: %s' % command)
118 self._logger.LogOutput('CMD: %s' % clean_cmd)
128 self._logger.LogOutput('CMD: %s' % command)
150 self._logger.LogOutput('Preparing to download %s package to local '
165 self._logger.LogOutput('CMD: %s' % command)
[all …]
Dschedv2.py31 self._logger = logger.GetLogger(self._sched.get_experiment().log_dir)
66 self._logger.LogOutput('{} started.'.format(self))
74 self._logger.LogOutput('ImageManager found no label '
81 self._logger.LogWarning('Re-image failed, dut '
107 self._logger.LogOutput('Reimaging {} using {}'.format(self, label))
135 self._logger.LogOutput('{} started working on {}'.format(self, br))
169 self._logger.LogOutput("Dut '{}' is pre-installed with '{}'".format(
205 self._logger = self._schedv2.get_logger()
212 self._logger.LogOutput('Cache hit - {}'.format(br))
216 self._logger.LogOutput('Cache not hit - {}'.format(br))
[all …]
/external/toolchain-utils/
Dbuild_tool.py80 self._logger = logger.GetLogger()
87 self._logger.LogOutput('"{0}" and "{1}" are the same."'.format(t1, t2))
89 self._logger.LogWarning('"{0}" and "{1}" are different."'.format(t1, t2))
125 self._logger.LogError('Git repository "{0}" not clean, aborted.'.format(
134 self._logger.LogError('Failed to create a temp branch for test, aborted.')
138 self._logger.LogOutput(
156 self._logger.LogOutput('Sync successfully done.')
158 self._logger.LogError('Sync not successful, aborted.')
174 self._logger.LogError(
229 self._logger.LogOutput('Find tree for {0} branch "{1}" - "{2}"'.format(
[all …]
Dfile_lock_machine.py195 self._logger = logger.GetLogger()
201 self._logger.LogError(
208 self._logger.LogError('Shared lock already acquired')
221 self._logger.LogOutput('Successfully locked: %s' % self._to_lock)
227 self._logger.LogWarning("Can't unlock unlocked machine!")
231 self._logger.LogError('shared locks must be unlocked with --shared')
236 self._logger.LogError("%s can't unlock lock owned by: %s" %
240 self._logger.LogError("Can't unlock lock with different -a"
/external/toolchain-utils/automation/common/
Dcommand_executer.py25 self._logger = logging.getLogger(self.__class__.__name__)
47 self._logger.warning('Command has been already terminated!')
57 self._logger.debug("Executing '%s' on %s.", cmd, login)
62 self._logger.debug("Executing: '%s'.", cmd)
66 self._logger.debug('{PID: %d} Finished with %d code.', child.pid,
75 self._logger.warning('{PID: %d} Timeout of %s seconds reached since '
78 self._logger.warning('{PID: %d} Terminating child.', child.pid)
96 self._logger.warning('{PID: %d} Process still alive.', child.pid)
97 self._logger.warning('{PID: %d} Killing child.', child.pid)
166 self._logger.debug('Waiting for command to finish.')
[all …]
/external/toolchain-utils/automation/server/
Dserver.py37 self._logger = logging.getLogger(self.__class__.__name__)
41 self._logger.info('Received ExecuteJobGroup(%r, dry_run=%s) request.',
49 self._logger.info('Received GetAllJobGroups() request.')
53 self._logger.info('Received KillJobGroup(%d) request.', job_group_id)
57 self._logger.info('Received GetJobGroup(%d) request.', job_group_id)
62 self._logger.info('Received GetJob(%d) request.', job_id)
67 self._logger.info('Received GetMachineList() request.')
Djob_group_manager.py31 self._logger = logging.getLogger(self.__class__.__name__)
49 self._logger.debug('Creating runtime environment for %r.', group)
62 self._logger.info('Added %r to queue.', group)
68 self._logger.debug('Killing all jobs that belong to %r.', group)
73 self._logger.debug('Waiting for jobs to quit.')
82 self._logger.debug('Handling %r completion event.', job_)
Djob_manager.py80 self._logger = logging.getLogger(self.__class__.__name__)
83 self._logger.info('Starting...')
90 self._logger.info('Shutdown request received.')
119 self._logger.info('Killing [Job: %d].', job_id)
152 self._logger.debug('Handling %r completion event.', job_)
167 self._logger.info('Started.')
194 self._logger.info('Stopped.')
Djob_executer.py29 self._logger = logging.getLogger(self.__class__.__name__)
53 self._logger.debug('Cleaning up %r work directory.', self.job)
57 self._logger.debug('Cleaning up %r home directory.', self.job)
109 self._logger.debug('Executing %r on %r in directory %s.', self.job,
129 self._logger.error('Job failed. Exit code %s. %s', ex.exit_code, ex)
131 self._logger.info('%r was killed', self.job)
/external/toolchain-utils/crb/
Dautotest_run.py158 self._logger.LogOutput('Trying to read from cache file: %s' % cache_file)
160 self._logger.LogOutput('Cache miss. AM going to run: %s for: %s' %
169 self._logger.LogOutput(self.out)
188 self._logger = logger.Logger(
191 self._ce = command_executer.GetCommandExecuter(self._logger)
200 self._logger.LogOutput('--rerun passed. Not using cached results.')
202 self._logger.LogOutput('--rerun_if_failed passed and existing test '
213 self._logger.LogOutput('%s: Machine %s acquired at %s' %
234 self._logger.LogOutput('Releasing machine: %s' % self.machine.name)
237 self._logger.LogOutput('Released machine: %s' % self.machine.name)
/external/autotest/client/tests/wb_kupdate/
Dwb_kupdate_unittest.py19 self._logger = logging.getLogger()
26 self._logger.info('Testing the "_needs_more_time" method.')
44 self._logger.info('Testing the "_wait_until_data_flushed" method - '
72 self._logger.info('Testing the "_wait_until_data_flushed" method - '
/external/autotest/site_utils/
Dmass_update.py77 self._logger = logging.getLogger()
85 self._logger.info('Updating host %s' % host)
94 self._logger.info(
98 self._logger.info('Failed to SSH to host %s.' % host)
101 self._logger.info('Failed to update host %s.' % host)
107 self._logger.warning(
/external/parameter-framework/upstream/parameter/
DSubsystemObject.h94 core::log::details::Info info() const { return _logger.info(); } in info()
95 core::log::details::Warning warning() const { return _logger.warning(); } in warning()
119 core::log::Logger &_logger; variable
DSystemClass.cpp59 : _pSubsystemLibrary(new CSubsystemLibrary()), _logger(logger) in CSystemClass()
103 _pSubsystemLibrary->addElementBuilder("Virtual", new VirtualSubsystemBuilder(_logger)); in loadSubsystems()
107 utility::make_unique<VirtualSubsystemBuilder>(_logger)); in loadSubsystems()
202 subSystemBuilder(_pSubsystemLibrary, _logger); in loadPlugins()
DSelectionCriterion.cpp42 : base(strName), _pType(pType), _logger(logger) in CSelectionCriterion()
70 _logger.info() << "Selection criterion changed event: " in setCriterionState()
78 _logger.warning() << "Selection criterion '" << getName() << "' has been modified " in setCriterionState()

12