Did I find the right examples for you? yes no

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

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

logger.warning("Houston, we have a %s", "bit of a problem", exc_info=1)

src/t/r/troy-0.0.3/troy/plugins/strategy/plugin_strategy_basic_early_binding.py   troy(Download)
 
            if  workload :
                troy._logger.warn ("shutting down workload: %s" % workload.id)
                workload_mgr.cancel_workload (workload.id)
 
            if  overlay :
                troy._logger.warn ("shutting down overlay: %s" % overlay.id)

src/t/r/troy-0.0.3/troy/plugins/strategy/plugin_strategy_basic_late_binding.py   troy(Download)
 
            if  workload :
                troy._logger.warn ("shutting down workload: %s" % workload.id)
                workload_mgr.cancel_workload (workload.id)
 
            if  overlay :
                troy._logger.warn ("shutting down overlay: %s" % overlay.id)

src/t/r/troy-0.0.3/troy/workload/workload_manager.py   troy(Download)
        except Exception as e :
            # leave any error handling to the parsers -- what do we know..
            troy._logger.warn ("cannot read WL description at '%s'" \
                            % workload_description)
 

src/t/r/troy-0.0.3/troy/plugins/workload_scheduler/plugin_workload_scheduler_first.py   troy(Download)
 
        if  not overlay.pilots.keys() :
            troy._logger.warn ("no pilots in overlay")
            return
 

src/t/r/troy-0.0.3/troy/overlay/pilot.py   troy(Download)
 
            if  not self._instance :
                troy._logger.warn ("Could not reconnect to pilot %s (%s)" % (self.id, self.native_id))
 
            else :