Stop resetting logging on every call to __main__.
Stop resetting logging on every call to __main__.

__main__ is called directly during tests, but was resetting the
logging environment within it, which prevented tests from capturing
the log events.

Change-Id: If710e11091723144c97c88aab4aa5e6126844d2b

openstack/os-collect-config