Did I find the right examples for you? yes no

All Samples(31)  |  Call(31)  |  Derive(0)  |  Import(0)
Log 'msg % args' with severity 'DEBUG'.

To pass exception information, use the keyword argument exc_info with
a true value, e.g.

logger.debug("Houston, we have a %s", "thorny problem", exc_info=1)

src/t/r/troy-0.0.3/troy/plugins/overlay_provisioner/plugin_overlay_provisioner_local.py   troy(Download)
            self.descr['environment'] = list()
        troy._logger.debug ("new     unit %s" % (self.id))
        command = "cd %s ; %s %s" % (pwd, self.descr['executable'], args.strip())
        troy._logger.debug ("running unit %s (%s)" % (self.id, command))
        self._proc   = subprocess.Popen ([command], env=env,
                out, err = self._proc.communicate()
                troy._logger.debug ("unit finished: %s" % self.id)
                troy._logger.debug ("     exitcode: %s" % self.retval)
                troy._logger.debug ("     output  : %s" % out[-1024:])

src/t/r/troy-0.0.3/troy/plugins/overlay_provisioner/plugin_overlay_provisioner_bigjob.py   troy(Download)
            raise RuntimeError ("Cannot use bigjob backend - no COORDINATION_URL -- see debug log for details")
        troy._logger.debug ('using bj coordination url %s' % self._coord)
        self.cp_service = pilot_module.PilotComputeService (self._coord)

src/t/r/troy-0.0.3/troy/session.py   troy(Download)
        # default to a copy of the resource config skeleton
        troy._logger.debug ('create resource config for %s' % resource)
        ret = dict (_resource_config_skeleton)
                resource_pattern = re.compile (fnmatch.translate (resource_key))
                if  resource_pattern.match (resource):
                    troy._logger.debug ('merge resource pattern %s for %s' \
                                     % (resource_key, resource))
                    ru.dict_merge (ret, resource_cfg[resource_key],
        if  resource in resource_cfg :
            troy._logger.debug ('merge resource config for %s' % resource)
            ru.dict_merge (ret, resource_cfg[resource], 

src/t/r/troy-0.0.3/troy/workload/workload_manager.py   troy(Download)
        for parser in self._parsers :
            troy._logger.debug ("trying parser %s" % parser.name)
            if True :

src/t/r/troy-0.0.3/troy/plugins/planner_derive/plugin_planner_derive_bundles.py   troy(Download)
    def init(self):
        troy._logger.debug ("init plugin %s (bundles)" % self.name)
        self.guard = self.cfg.get ('guard', None)

src/t/r/troy-0.0.3/troy/workload/workload.py   troy(Download)
                    self._set_state (UNKNOWN)
        troy._logger.debug ('wl   state %-6s: %-10s %s' % (self.id, self.state, str(task_states)))
        return self.state

src/t/r/troy-0.0.3/troy/plugins/overlay_scheduler/plugin_overlay_scheduler_round_robin.py   troy(Download)
    def init (self):
        if 'resources'    in self.cfg :
            self.resources = self.cfg['resources'].split (',')
            troy._logger.debug ("round_robin over %s" % self.resources )
        else :
            self.resources = ['fork://localhost']
            troy._logger.debug ("round_robin on localhost only")

src/t/r/troy-0.0.3/troy/plugins/workload_dispatcher/plugin_workload_dispatcher_sagapilot.py   troy(Download)
        troy._logger.debug ("reconnect to sagapilot cu %s" % native_id)
        sp_um_id = native_id[0]
        sp_cu_id = native_id[1]
        # translate sagapilot state to troy state
        if  'state' in info :
            troy._logger.debug ('sagalilot level cu state: %s' % info['state'])
            # hahaha python switch statement hahahahaha
            info['state'] =  {sp.states.PENDING                 : PENDING, 

src/t/r/troy-0.0.3/troy/utils/time_it.py   troy(Download)
        troy._logger.debug ('timed start    : %s %s : %s (UTC)' % (event, tags, start))
        return start
        self._timed_current[event] = None
        troy._logger.debug ('timed stop     : %s %s : %s (UTC)' % (event, tags, stop))
        troy._logger.debug ('timed duration : %s %s : %s  sec'  % (event, tags, timer))
                                   'tags'  : tags })
        troy._logger.debug ('timed event [%s]   : %s : %s (UTC)' % (self.timed_id, event, tags))
        signature = "%s (%s, %s) " % (method.__name__, args, kwargs)
        troy._logger.debug ('%30s : %6.2f sec' % (signature, timer))
        return result

src/t/r/troy-0.0.3/troy/workload/data_stager.py   troy(Download)
            resource_url.username = username
        troy._logger.debug ('copy %s -> %s / %s' % (src_url, resource_url, tgt))
        # if needed, create a dir handle to the target resource and cache it
            resource_url.username = username
        troy._logger.debug ('copy %s <- %s' % (tgt_url, src_url))
        # if needed, create a dir handle to the target resource and cache it

  1 | 2  Next