Home | History | Annotate | Download | only in chromeos_proxy

Lines Matching refs:logging

40 import logging
41 import logging.handlers
133 logging.debug('[Bot %s] Initialize: bot is not running',
136 logging.debug('[Bot %s] Initialize: bot is running '
158 logging.debug('[Bot %s] check process running: %s',
191 logging.error('[Bot %s] %s, updating pid file',
206 logging.info(
210 logging.debug('[Bot %s] Bootstrap bot in %s', self.bot_id, self.bot_dir)
217 logging.debug('[Bot %s] Getting bot code from: %s/bot_code',
225 logging.info('Download bot code from %s', url)
228 logging.debug('[Bot %s] Calling command: %s', self. bot_id, cmd)
234 logging.info('[Bot %s] Created bot (pid: %d)', self.bot_id, self.pid)
240 logging.info('[Bot %s] Skip killing bot, Bot is not running',
244 logging.info('[Bot %s] killing bot (pid: %d)',
253 logging.debug('[Bot %s] Waiting %d secs for bot to finish'
258 logging.error(
296 logging.error('[BotManager] Failed to start Bot %s: %s',
305 logging.info('Wait 3 seconds for process creation to complete.')
324 logging.error(msg)
334 logging.debug('[BotManager] Check bot counts: %s', str(cmd))
344 logging.info(
348 logging.info('[BotManager] Checking all bots')
404 """Setup logging.
409 log_formatter = logging.Formatter(LOGGING_FORMAT)
411 handler = logging.StreamHandler()
413 handler = logging.handlers.RotatingFileHandler(
417 logger = logging.getLogger()
418 log_level = logging.DEBUG if verbose else logging.INFO
432 logging.error(
442 logging.info('Connecting to %s', swarming_proxy)