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

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

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

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

src/f/t/ftw.bridge.proxy-1.1.1/ftw/bridge/proxy/views.py   ftw.bridge.proxy(Download)
 
        else:
            LOG.info('%s: "%s" %s (%s)' % (
                    self.request.method,
                    origin, response.status, url))
            client = getUtility(IClientManager).get_client_by_id(clientid)
            client.set_maintenance_mode(status == 'maintenance')
            LOG.info('manage: change status of %s to %s' % (
                    clientid, status))
            return HTTPFound(location=self.request.headers.get('Referer'))