DataDog/dogapi — pull request #67 by micktwomey (2013-10-31 12:23:52+00:00)
Title: Remove logging.basicConfig call

Importing dogapi results in a logging.basicConfig() call which can cause problems for application logging config later.

basicConfig() only takes effect once (since it only applies config changes if there are no handlers configured), so it's generally good practise to only call it in the main() of an app before any other logging happens.

Calling logging.info(..) (or other handlers) implicitly calls basicConfig anyway, so it's usually not necessary for a library to call basicConfig to get basic ERROR and WARNING level messages written to stderr if no other logging configuration has been done.