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
Merge "extract logging setup to separate file"