diff options
author | JordonPhillips <phjordon@amazon.com> | 2016-12-29 10:12:05 -0800 |
---|---|---|
committer | JordonPhillips <phjordon@amazon.com> | 2016-12-29 10:12:05 -0800 |
commit | 0990f4041048a49ba3e5fd688fde80d53833ae39 (patch) | |
tree | 883ec8c80752fdf9f27b870885495707be5bdf03 | |
parent | c6d6ad4ab5f946b9f1c4da163ae74c9c367cbfbe (diff) | |
download | boto-0990f4041048a49ba3e5fd688fde80d53833ae39.tar.gz |
Disable vendored endpoint logger
-rw-r--r-- | boto/endpoints.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/boto/endpoints.py b/boto/endpoints.py index 4fd5e0cd..a2af7dcd 100644 --- a/boto/endpoints.py +++ b/boto/endpoints.py @@ -10,9 +10,17 @@ # distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF # ANY KIND, either express or implied. See the License for the specific # language governing permissions and limitations under the License. +import logging + from boto.vendored.regions.regions import EndpointResolver +# Since we will be resolving every region, it's worth not cluttering up the +# logs with all that data. +_endpoint_logger = logging.getLogger('boto.vendored.regions.regions') +_endpoint_logger.disabled = True + + class BotoEndpointResolver(EndpointResolver): """Endpoint resolver which handles boto2 compatibility concerns.""" |