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
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
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