Did I find the right examples for you? yes no      Crawl my project      Python Jobs

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/c/i/circus-HEAD/circus/controller.py   circus(Download)
            message = ("Multicast discovery is disabled, there was an"
                       "error during udp socket creation.")
            logger.warning(message, exc_info=True)
 
    @property

src/c/i/circus-HEAD/circus/watcher.py   circus(Download)
                    return False
            except OSError as e:
                logger.warning('error in %r: %s', self.name, str(e))
 
            if process is None:

src/c/i/circus-0.10.0/circus/watcher.py   circus(Download)
                             process.pid)
            except OSError as e:
                logger.warning('error in %r: %s', self.name, str(e))
 
            if process is None:

src/c/i/circus-0.10.0/circus/plugins/watchdog.py   circus(Download)
            else:
                if "process_pid" not in message:
                    logger.warning('no process_pid in message')
                    return
                pid = str(message.get("process_pid"))
                    'last_activity'] = time.time()
            else:
                logger.warning("received watchdog for a"
                               "non monitored process:%s",
                               heartbeat)

src/c/i/circus-HEAD/circus/plugins/watchdog.py   circus(Download)
            else:
                if "process_pid" not in message:
                    logger.warning('no process_pid in message')
                    return
                pid = str(message.get("process_pid"))
                    'last_activity'] = time.time()
            else:
                logger.warning("received watchdog for a"
                               "non monitored process:%s",
                               heartbeat)