From: Anders-Petter Ljungquist <apljungquist@users.noreply.github.com>
Date: Thu, 14 Mar 2019 12:39:42 +0000 (+0100)
Subject: Changes default logger used by blib2to3 Driver (#732)
X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/227c2d77b48c6af0e6a2e667dfbb4412f3419005?ds=sidebyside;hp=227c2d77b48c6af0e6a2e667dfbb4412f3419005

Changes default logger used by blib2to3 Driver (#732)

... to stop it from spamming the log when black is used as a library in another
    python application.

When used indirectly by black the logger initiated in `driver.py` will emit
thousands of debug messages making the debug level of the root logger virtually
useless. By getting a named logger instead the verbosity of logging from this
module can easily be controlled by setting its log level.

Fixes #715
---