Commit Graph

3 Commits

Author SHA1 Message Date
Ramy Asselin 49999256f4 Make Elastic Recheck Watch more reusable
Refactor to use a config class to hold all the
params needed so that they can be more easily
overridden and reused across all the
elastic-recheck tools.

In addition, use the new class to make the
jobs_regex and ci_username configurable.

Change-Id: Ic6f115a6882494bf4c087ded4d7cafa557765c28
2016-09-20 18:11:30 -07:00
Sean Dague 3db753937d import logging.config
importing python logging does not automatically bring in
logging.config, which was not realized during a refactor. This patch
will get us working, additional unit tests will come in a follow up
patch.

Change-Id: I2be6fbd9a17357f0e86a4e18921aa5c672e0c546
2014-09-30 21:52:36 -04:00
Sean Dague 0fd2c4508a extract logging setup to separate file
The logging setup for the bot includes very useful and specific
information on the kinds of things we want to get rid of when we
enable logging around elastic search code. Extract it so it can be
used in CLI tools.

Change-Id: I2eff77cf37d481c6518c95642e308af196b61d50
2014-09-26 14:34:53 -04:00