stop adding log handler
A StreamHandler was being setup that dumped logs to the console regardless of the user's wishes. This removes that StreamHandler setup so that the user can control the logging themselves. Change-Id: I02756539a7c094153b9ec29a0ff2fecaabd44f71 Closes-Bug: #1647846
This commit is contained in:
@@ -24,10 +24,7 @@ from cinderclient import exceptions
|
||||
from cinderclient import utils
|
||||
from cinderclient._i18n import _
|
||||
|
||||
logging.basicConfig()
|
||||
LOG = logging.getLogger(__name__)
|
||||
if not LOG.handlers:
|
||||
LOG.addHandler(logging.StreamHandler())
|
||||
|
||||
|
||||
# key is a deprecated version and value is an alternative version.
|
||||
|
Reference in New Issue
Block a user