"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "storlets/agent/common/utils.py" between
storlets-6.0.0.tar.gz and storlets-7.0.0.tar.gz

About: OpenStack Swift Storlets extend Swift with the capability to run computation near the data in a secure and isolated manner.
The "Wallaby" series (latest release).

utils.py  (storlets-6.0.0):utils.py  (storlets-7.0.0)
skipping to change at line 20 skipping to change at line 20
# distributed under the License is distributed on an "AS IS" BASIS, # distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
# implied. # implied.
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
import logging import logging
from logging.handlers import SysLogHandler from logging.handlers import SysLogHandler
# TODO(takashi): Make the following parameters configurable # TODO(takashi): Make the following parameters configurable
DEFAULT_PY2 = 2.7 DEFAULT_PY2 = 2.7
DEFAULT_PY3 = 3.6 DEFAULT_PY3 = 3.8
def get_logger(logger_name, log_level, container_id): def get_logger(logger_name, log_level, container_id):
""" """
Initialize logging of this process and set logger format Initialize logging of this process and set logger format
:param logger_name: The name to report with :param logger_name: The name to report with
:param log_level: The verbosity level. This should be selected :param log_level: The verbosity level. This should be selected
:param container_id: container id :param container_id: container id
""" """
log_level = log_level.upper() log_level = log_level.upper()
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)