blob: e0f651e33fa8b3b4dfd7b770bf4bc82f07be39f7 [file] [log] [blame]
Tommy Carpenter81b9ed72017-08-23 11:21:44 -04001# org.onap.dcae
2# ================================================================================
3# Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
4# ================================================================================
5# Licensed under the Apache License, Version 2.0 (the "License");
6# you may not use this file except in compliance with the License.
7# You may obtain a copy of the License at
8#
9# http://www.apache.org/licenses/LICENSE-2.0
10#
11# Unless required by applicable law or agreed to in writing, software
12# distributed under the License is distributed on an "AS IS" BASIS,
13# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14# See the License for the specific language governing permissions and
15# limitations under the License.
16# ============LICENSE_END=========================================================
17#
18# ECOMP is a trademark and service mark of AT&T Intellectual Property.
19
20"""
21Utility module
22"""
23import logging
24
25
26# Unified all logging through this single logger in order to easily monkeypatch
27# this guy in the Cloudify docker plugin. I also tried monkeypatching a getter
28# function that returns a logger but that didn't work.
29# WATCH! The monkeypatching in the Cloudify plugin will not work if you import
30# this logger with the following syntax: from dockering.utils import logger.
31logger = logging.getLogger("dockering")