From c7641d289b148d84c579c15e50c3d05b3bcbdcaf Mon Sep 17 00:00:00 2001 From: Michael Twomey Date: Thu, 24 Oct 2013 14:46:43 +0100 Subject: [PATCH] Remove logging.basicConfig call Importing dogapi was results in a logging.basicConfig() call which can cause problems for application logging config later. --- src/dogapi/__init__.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/dogapi/__init__.py b/src/dogapi/__init__.py index c35a8c2..9ac7416 100644 --- a/src/dogapi/__init__.py +++ b/src/dogapi/__init__.py @@ -1,12 +1,6 @@ from dogapi.http import DogHttpApi from dogapi.stats import DogStatsApi -# make sure there's at least some basic logging configured -import logging -logging.basicConfig( - format="%(asctime)s %(levelname)s [%(name)s] %(message)s", -) - #FIXME matt: remove the 'dog' variable. dog = dog_stats_api = DogStatsApi() dog_http_api = DogHttpApi()